chore(docs): remove @View decorator from examples in docs

Closes #4666
This commit is contained in:
Alex Eagle
2015-10-11 07:41:19 -07:00
committed by Alex Eagle
parent 62005dd127
commit b96784756c
36 changed files with 181 additions and 263 deletions

View File

@ -23,7 +23,7 @@ import {LocationStrategy} from './location_strategy';
* ## Example
*
* ```
* import {Component, View, provide} from 'angular2/angular2';
* import {Component, provide} from 'angular2/angular2';
* import {
* APP_BASE_HREF
* ROUTER_DIRECTIVES,
@ -32,8 +32,7 @@ import {LocationStrategy} from './location_strategy';
* Location
* } from 'angular2/router';
*
* @Component({...})
* @View({directives: [ROUTER_DIRECTIVES]})
* @Component({directives: [ROUTER_DIRECTIVES]})
* @RouteConfig([
* {...},
* ])