We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1bc792 commit 6f4b678Copy full SHA for 6f4b678
modules/angular2/docs/core/02_directives.md
@@ -277,12 +277,12 @@ Here is an example of the kinds of injections which can be achieved:
277
278
```
279
@Component({ |
280
- selector: 'my-app', |
281
- template: new TemplateConfig({ |
282
- templateUrl: 'my_app.html', |
283
- directives: [Form, FieldSet, |
284
- Field, Primary] |
285
- }) |
+ selector: 'my-app' |
+}) |
+@View({ |
+ templateUrl: 'my_app.html', |
+ directives: [Form, FieldSet, |
+ Field, Primary] |
286
}) |
287
class MyApp {} |
288
|
0 commit comments