摘要:
https://blog.csdn.net/forezp/article/details/76408139 阅读全文
摘要:
Spring框架下,Bean的创建和装配非常的灵活,提供了三种主要的方式,并且相互见可以互相看见,也就是你可以随意地采用你喜欢且合适的方式创建Bean,而不用担心他们之间的兼容问题。 一、使用XML显示配置Bean 在Spring框架最初的是,XML是最主要的配置方式。在XML中创建Bean需要使用 阅读全文
摘要:
https://blog.csdn.net/xiaojieblog/article/details/70332469 阅读全文
摘要:
https://blog.csdn.net/qq_32814555/article/details/79494533 阅读全文
摘要:
1、当路由中不写controller的时候,controller写在对应的html表单中 2、若要写在路由中,如下 3、转到相应的路由(页面) 1、采用location服务 2、采用 transitionTo 4、含有导航标题的可以采用abstract:true,默认会先加载父页面 5、angula 阅读全文
摘要:
也就是说 ng-model是绑定html输入的值-->到控制器的变量,输入值变了,控制器对应的变量message的值页变了,这样,在其他地方就可以使用这个变化后的值 ng-bind 是绑定控制器的值-->到html页面,控制器的变量值变了,页面的数据跟着变 阅读全文
摘要:
:''}}" ng-repeat="x in names"> {{ $index + 1 }} {{ x.Name }} {{ x.Country }} {{ $index + 1 }} {{ x.Name }} {{ x.Country }} ... 阅读全文
摘要:
controller 有两种写法,讨论一下两种写法的区别: 写法 1: 写法2: 两种写法都是对的,但是推荐第二种写法,因为第一种写法在 js 压缩后会出问题,而第二种写法可以完美应对 js 压缩,原因是:js 压缩后,变量名会重命名,故第一种写法会报错。 上面的例子第 2 种写法还可以这样: 阅读全文
摘要:
https://www.cnblogs.com/ityouknow/p/8599093.html 阅读全文
摘要:
https://blog.csdn.net/qq_37272886/article/details/78974200 阅读全文