在Angular的原生指令中有这几个指令用来控制元素的展示与否,ng-show/ng-hide/ng-if和ng-switch。在angular性能优化中,我们也常常会用到它。
分类:
Web程序 时间:
2015-01-05 21:40:01
阅读次数:
1527
之前的学习方法有点盲目,建议以后只看与工作有关的内容,并且多问那些是只和工作有关联的。遇到问题的时候,项目不急的话,自己研究,项目急的话,马上问。方法不对,再努力也没有用。Angular JS学习网站:http://www.zouyesheng.com/angular.html#toc7 【 项目有...
分类:
Web程序 时间:
2015-01-04 21:03:16
阅读次数:
397
angular的MVVM框架结构: 1. app,2.routes, config,3.module,4.Controller, $scope,controller参数,事件机制。5.Model, Service, factory, ui-router, provider (stateprovide...
分类:
Web程序 时间:
2015-01-04 16:41:28
阅读次数:
144
With theocLazyLoadyou can load AngularJS modules on demand. This is very handy for runtime loading of Angular modules in large applications.'use stric...
分类:
Web程序 时间:
2015-01-04 06:25:30
阅读次数:
1062
ui-router's states and AngularJS directives have much in common. Let's explores the similarities between the two and how these patterns have emerged i...
分类:
Web程序 时间:
2015-01-04 06:25:08
阅读次数:
216
We'velooked at lazy loading with ocLazyLoadpreviously, but what if we are using ui-router and want to lazy load modules when we change states?angular....
分类:
Web程序 时间:
2015-01-04 06:24:36
阅读次数:
1221
Web前端 最标准化的3项技术:HTML、JavaScript、CSS。 其中,HTML主要使用4,JS框架主要使用jquery,CSS框架主要使用Bootstrap。 好处: 简单易学,没有什么学习成本。最标准化的技术,在一个项目中积累经验,在另外一个项目中也可以持续使用。 而Angular等前端框架,不太熟悉,是否有较广泛的适用场景。今后可以考虑学习下。 后端管理系统,前端采用开...
分类:
其他好文 时间:
2015-01-03 16:01:40
阅读次数:
221
Scope resolution of our Angular documents works exactly the same way scope resolution works in plain, old Javascript. The only difference here is that...
分类:
编程语言 时间:
2015-01-03 07:02:25
阅读次数:
409
2015年的JavaScript:Angular之类的框架将被库取代young2014-12-16注* 本文表达了关于Angular和Ember这样的整体性解决方案将被更小更专注的library(库)这样的观点(有节选),之前的一些文章也表达过相似的论述:我们不需要JavaScript框架 , An...
分类:
编程语言 时间:
2015-01-02 21:08:32
阅读次数:
272
(一)Hello Angularindex.html Test AngularJS {{greeting.text}},Angular HelloAngular.jsfunction HelloAngular($scope) { $sc...
分类:
Web程序 时间:
2015-01-02 21:07:47
阅读次数:
301