parent
							
								
									4d1d0fa03b
								
							
						
					
					
						commit
						702e17cfe2
					
				| @ -1,4 +1,4 @@ | |||||||
| # Bootstrapping | # Launching your app with a root module | ||||||
| 
 | 
 | ||||||
| #### Prerequisites | #### Prerequisites | ||||||
| 
 | 
 | ||||||
| @ -7,12 +7,12 @@ A basic understanding of the following: | |||||||
| 
 | 
 | ||||||
| <hr /> | <hr /> | ||||||
| 
 | 
 | ||||||
| An `NgModule` describes how the application parts fit together. | An NgModule describes how the application parts fit together. | ||||||
| Every application has at least one Angular module, the _root_ module | Every application has at least one Angular module, the _root_ module, | ||||||
| that you bootstrap to launch the application. | which must be present for bootstrapping the application on launch. | ||||||
| By convention, it is usually called `AppModule`. | By convention and by default, this NgModule is named `AppModule`. | ||||||
| 
 | 
 | ||||||
| If you use the [Angular CLI](cli) to generate an app, the default `AppModule` is as follows: | When you use the [Angular CLI](cli) command `ng new` to generate an app, the default `AppModule` is as follows. | ||||||
| 
 | 
 | ||||||
| ```typescript | ```typescript | ||||||
| /* JavaScript imports */ | /* JavaScript imports */ | ||||||
|  | |||||||
| @ -313,7 +313,7 @@ | |||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|               "url": "guide/bootstrapping", |               "url": "guide/bootstrapping", | ||||||
|               "title": "App Root NgModule", |               "title": "Launching Apps with a Root Module", | ||||||
|               "tooltip": "Tell Angular how to construct and bootstrap the app in the root \"AppModule\"." |               "tooltip": "Tell Angular how to construct and bootstrap the app in the root \"AppModule\"." | ||||||
|             }, |             }, | ||||||
|             { |             { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user