docs(router): fix syntax in code example of comment block (#10026)

This commit is contained in:
Codebacca 2016-07-14 00:26:26 +10:00 committed by Victor Berchet
parent e7a8e2757b
commit 4ac76ca281
1 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ import {ActivatedRouteSnapshot, RouterStateSnapshot} from './router_state';
* component: Team,
* canActivate: [CanActivateTeam]
* }])
* );
* ]);
* ```
*
* You can also provide a function with the same signature instead of the class:
@ -45,7 +45,7 @@ import {ActivatedRouteSnapshot, RouterStateSnapshot} from './router_state';
* component: Team,
* canActivate: ['canActivateTeam']
* }])
* );
* ]);
* ```
*
* @stable
@ -77,7 +77,7 @@ export interface CanActivate {
* component: Team,
* canDeactivate: [CanDeactivateTeam]
* }])
* );
* ]);
* ```
*
* You can also provide a function with the same signature instead of the class:
@ -91,7 +91,7 @@ export interface CanActivate {
* component: Team,
* canActivate: ['canDeactivateTeam']
* }])
* );
* ]);
* ```
*
* @stable
@ -125,7 +125,7 @@ export interface CanDeactivate<T> {
* team: TeamResolver
* }
* }])
* );
* ]);
* ```
*
* You can also provide a function with the same signature instead of the class.