From c977a906b39b760b1ff88d2d653701fbfe522f5f Mon Sep 17 00:00:00 2001 From: Sam Herrmann Date: Tue, 2 Aug 2016 10:34:04 -0400 Subject: [PATCH] docs(cheatsheet): add moduleId (#10095) --- modules/@angular/docs/cheatsheet/component-configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) 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:`