fix(examples): prefix directives with Ng
This commit is contained in:
@ -74,7 +74,7 @@
|
||||
</section>
|
||||
|
||||
|
||||
<p template="for #item of items">
|
||||
<p template="ng-for #item of items">
|
||||
Repeated button:
|
||||
<button md-button tabindex="-1" (^click)="increment()">{{action}}</button>
|
||||
{{clickCount}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {bootstrap, MapWrapper, ListWrapper, For} from 'angular2/angular2';
|
||||
import {bootstrap, MapWrapper, ListWrapper, NgFor} from 'angular2/angular2';
|
||||
import {MdButton, MdAnchor} from 'angular2_material/src/components/button/button'
|
||||
import {UrlResolver} from 'angular2/src/services/url_resolver';
|
||||
import {commonDemoSetup, DemoUrlResolver} from '../demo_common';
|
||||
@ -14,7 +14,7 @@ import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
})
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdButton, MdAnchor, For]
|
||||
directives: [MdButton, MdAnchor, NgFor]
|
||||
})
|
||||
class DemoApp {
|
||||
previousClick: string;
|
||||
|
Reference in New Issue
Block a user