docs(cheatsheet): add moduleId (#10095)
This commit is contained in:
		
							parent
							
								
									e0eea6c2f4
								
							
						
					
					
						commit
						c977a906b3
					
				| @ -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:` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user