docs: annotations
This commit is contained in:
@ -4,7 +4,8 @@ import {DependencyAnnotation} from 'angular2/di';
|
||||
/**
|
||||
* The directive can only be injected from the current element
|
||||
* or from its parent.
|
||||
* @publicModule angular2/angular2
|
||||
*
|
||||
* @publicModule angular2/annotations
|
||||
*/
|
||||
export class Parent extends DependencyAnnotation {
|
||||
@CONST()
|
||||
@ -16,7 +17,8 @@ export class Parent extends DependencyAnnotation {
|
||||
/**
|
||||
* The directive can only be injected from the current element
|
||||
* or from its ancestor.
|
||||
* @publicModule angular2/angular2
|
||||
*
|
||||
* @publicModule angular2/annotations
|
||||
*/
|
||||
export class Ancestor extends DependencyAnnotation {
|
||||
@CONST()
|
||||
|
Reference in New Issue
Block a user