1、ng-app
划分angular接管的区域
2、ng-repeat
ng-repeat=”item in arr” {{item.xx}}
ng-repeat=”(key,value) in arr”
ng-repeat=”(index,value) in arr”
3、controller
var app = angular.module('xxx', []);
app.controller('xxx',['$scope', function($scope){}]);
HTML页面ng-controller=”xxx”
4、filter
{{xxx|currency}}//货币
{{xxx|date:”yyyy–MM–dd HH:mm:ss”}}
5、ng-hide、ng-show
ng-click="a!=a"
ng-hide="a"
6、ng-clack 延时显示