Angular指令2
2014-04-15 09:35
267 查看
scope Create a new scope for this directive rather than inheriting the parent scope.
controller Create a controller which publishes an API for communicating across directives.
require Require that another directive be present for this directive to function correctly.
link Programmatically modify resulting DOM element instances, add event listeners, and set up data binding.
compile Programmatically modify the DOM template for features across copies of a directive, as when used in ng-repeat.
Y our compile function can also return link functions to modify the resulting element instances
controller Create a controller which publishes an API for communicating across directives.
require Require that another directive be present for this directive to function correctly.
link Programmatically modify resulting DOM element instances, add event listeners, and set up data binding.
compile Programmatically modify the DOM template for features across copies of a directive, as when used in ng-repeat.
Y our compile function can also return link functions to modify the resulting element instances
相关文章推荐
- AngularJS $route
- poj 1948 Triangular Pastures
- AngularJS filter
- Angularjs中input的指令和属性
- angular post发送请求和GET发送请求,服务器端接收不到信息的问题
- 0-1背包-poj-1948-Triangular Pastures
- 初认识AngularJS
- POJ 1948 Triangular Pastures(双线性dp)
- poj 1948 Triangular Pastures(01背包+暴力)
- AngularJS学习笔记五
- 携程第二场 Poj 1182 食物链(带权并查集) Poj 1948 Triangular Pastures Poj(dp二维背包) 1740 A New Stone Game(博弈)
- AngularJS资源合集
- angular_$inject
- angular_$attrs
- angular-input
- angular_form
- Angularjs checkbox的ng属性
- UVa 12301 An Angular Puzzle 平面角度计算
- AngularJS学习笔记四
- AngularJS学习笔记三