摘要: 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.... 阅读全文
posted @ 2015-01-04 05:48 Zhentiw 阅读(803) 评论(0) 推荐(0) 编辑
摘要: With the ocLazyLoad you can load AngularJS modules on demand. This is very handy for runtime loading of Angular modules in large applications. Simple 阅读全文
posted @ 2015-01-04 05:42 Zhentiw 阅读(976) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2015-01-04 05:32 Zhentiw 阅读(437) 评论(0) 推荐(0) 编辑