docs: add missing @ngModule tags (#25734)

PR Close #25734
This commit is contained in:
Pete Bacon Darwin
2018-09-08 17:53:53 +01:00
committed by Kara Erickson
parent b94436d86c
commit 927323f24e
23 changed files with 53 additions and 61 deletions

View File

@ -66,6 +66,7 @@ import {ComponentFactoryResolver, ComponentRef, Directive, Injector, Input, NgMo
* {@example common/ngComponentOutlet/ts/module.ts region='NgModuleFactoryExample'}
*
* @experimental
* @ngModule CommonModule
*/
@Directive({selector: '[ngComponentOutlet]'})
export class NgComponentOutlet implements OnChanges, OnDestroy {

View File

@ -92,7 +92,7 @@ export class NgForOfContext<T> {
* See a [live demo](http://plnkr.co/edit/KVuXxDp0qinGDyo307QW?p=preview) for a more detailed
* example.
*
*
* @ngModule CommonModule
*/
@Directive({selector: '[ngFor][ngForOf]'})
export class NgForOf<T> implements DoCheck {

View File

@ -99,7 +99,7 @@ import {Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef, ɵstri
* <ng-template #elseBlock>...</ng-template>
* ```
*
*
* @ngModule CommonModule
*/
@Directive({selector: '[ngIf]'})
export class NgIf {