docs(Host): fix the API example (#11684)

fixes #11681
This commit is contained in:
Victor Berchet
2016-09-18 15:56:13 -07:00
committed by Alex Eagle
parent df4254ae89
commit 54b41f57be
2 changed files with 20 additions and 13 deletions

View File

@ -6,7 +6,6 @@
* found in the LICENSE file at https://angular.io/license
*/
import {stringify} from '../facade/lang';
import {makeParamDecorator} from '../util/decorators';
/**
@ -250,8 +249,7 @@ export const SkipSelf: SkipSelfDecorator = makeParamDecorator('SkipSelf', []);
export interface HostDecorator {
/**
* @whatItDoes Specifies that an injector should retrieve a dependency from any injector until
* reaching the
* host element of the current component.
* reaching the host element of the current component.
* @howToUse
* ```
* @Injectable()