BREAKING CHANGE: isolate scope bindings definition has changed and the inject option for the directive controller injection was removed. To migrate the code follow the example below: Before: scope: { myAttr: 'attribute', myBind: 'bind', myExpression: 'expression', myEva...
- Previously `null` and `undefined` inputs for `routerLink` were equaivalent to empty string and there was no way to disable the link's navigation. In addition, the `href` is changed from a property `HostBinding()` to an attribute binding (`HostBinding('attr.href')`). The effect o...
两个其它类型的指示符也存在:structural和attribute指示符。 它们尝试去在一个元素标签中显示(就像attributes所做),有时是通过名字,但是更常见的是作为一个分配或者绑定的目标。 Structural指示符通过增加、移除和替换在DOM中的元素来改变布局。 这个example template使用了两个内建的structural指示符: app/hero-list.com...
| [](https://github.com/angular/angular/commit/9de1e9da8fc7d102f74389d9a270c4608bf0dd64) | incorrectly matching directives on attribute bindings (#49713) | | [ Property binding Event binding with “()” Directives Attribute Directives - [ngClass], [ngStyle] Structural Directives - *ngIf, *ngForAgiliq...
Isn't that just a generic controller for the directive that has basically nothing to do with the ngModel attribute? (Still learning angular here so I could be totally wrong.) –Drew MillerDec 17 '12 at 1:52 6 Because of "require: 'ngModel'", the linking function's 4th parameter will...
ngx-draggable-dom - Angular attribute directive that causes any element to become a draggable element. ngx-drag-resize - This Angular library provides directives that add drag and resize functionality to HTML elements. ng-keyboard-sort - Library to add keyboard commands for elements that also use...