docs: annotations

This commit is contained in:
Misko Hevery
2015-03-19 16:56:45 +00:00
parent 906fba4fab
commit 38b96ed746
2 changed files with 182 additions and 119 deletions

View File

@ -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()