docs(02_directives): TemplateConfig -> @View

for #1224

Closes #1325
This commit is contained in:
Matthew Hill 2015-04-12 01:13:14 +01:00 committed by Misko Hevery
parent b1bc792b56
commit 6f4b6783c0
1 changed files with 6 additions and 6 deletions

View File

@ -277,12 +277,12 @@ Here is an example of the kinds of injections which can be achieved:
```
@Component({ |
selector: 'my-app', |
template: new TemplateConfig({ |
templateUrl: 'my_app.html', |
directives: [Form, FieldSet, |
Field, Primary] |
}) |
selector: 'my-app' |
}) |
@View({ |
templateUrl: 'my_app.html', |
directives: [Form, FieldSet, |
Field, Primary] |
}) |
class MyApp {} |
|