parent
b1bc792b56
commit
6f4b6783c0
@ -277,12 +277,12 @@ Here is an example of the kinds of injections which can be achieved:
|
|||||||
|
|
||||||
```
|
```
|
||||||
@Component({ |
|
@Component({ |
|
||||||
selector: 'my-app', |
|
selector: 'my-app' |
|
||||||
template: new TemplateConfig({ |
|
}) |
|
||||||
templateUrl: 'my_app.html', |
|
@View({ |
|
||||||
directives: [Form, FieldSet, |
|
templateUrl: 'my_app.html', |
|
||||||
Field, Primary] |
|
directives: [Form, FieldSet, |
|
||||||
}) |
|
Field, Primary] |
|
||||||
}) |
|
}) |
|
||||||
class MyApp {} |
|
class MyApp {} |
|
||||||
|
|
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user