diff --git a/modules/@angular/docs/cheatsheet/component-configuration.md b/modules/@angular/docs/cheatsheet/component-configuration.md index af4753ca92..602896bca5 100644 --- a/modules/@angular/docs/cheatsheet/component-configuration.md +++ b/modules/@angular/docs/cheatsheet/component-configuration.md @@ -7,6 +7,12 @@ so the `ng.core.Directive` configuration applies to components as well{@endtarge {@target ts dart}`@Component` extends `@Directive`, so the `@Directive` configuration applies to components as well{@endtarget} +@cheatsheetItem +syntax(ts js): +`moduleId: module.id`|`moduleId:` +description: +If set, the `templateUrl` and `styleUrl` is resolved relative to the component. + @cheatsheetItem syntax(ts dart): `viewProviders: [MyService, { provide: ... }]`|`viewProviders:`