1. templateURL和路由之类的要在web server下运行。
2. 使用模板replace设为true,模板里也要有相应的标签,否则不出现任何数据。
3. 1.2版本之后,ngRoute模块独立。
4.空的controller不定义会出错。
5.Directive的link参数是有顺序的:scope,element,attrs,ctrl
6.ng-repeat不能循环重复的对象。hack: ng-repeat=”thing in things track by $id($index)