指令Directive
摘要:1.ng-app 2.ng-repeat 3.ng-class 4.ng-bind ng-bind-html 将作用域(scope)中的值绑定到元素的innerHTML上 ng-bind在绑定的值包含HTML时会转义,为了安全(跨站攻击) 5.ng-cloak 在页面不显示{{ }},在head导入
阅读全文
posted @ 2016-11-12 10:25
posted @ 2016-11-12 10:25
posted @ 2016-11-12 10:15
posted @ 2016-11-12 09:53
posted @ 2016-11-11 22:58