Angular.js笔记

官方

教程: http://www.runoob.com/angularjs/angularjs-tutorial.html

Angular 概念太多,弃用。

拦截器

http://www.ddhigh.com/2014/12/angularjs-loading/

比较坑的一个框架

概念太多,学习成本很大。

ng-app , ng-controller 属于声明式,在声明之后自动运行,在动态加载页面的时候很死板。需要解决的问题,如何动态化

在路由器上绑定controller,在页面使用 ng-controller 绑定controller,两者只能使用一种方式,如果同时使用,则会执行两遍。由于绑定时机的问题,使用页面绑定可能会出错。

原文地址:https://www.cnblogs.com/newsea/p/4923943.html