Skip to content

Instantly share code, notes, and snippets.

@hamxiaoz
Last active December 17, 2017 18:07
Show Gist options
  • Save hamxiaoz/108de7346a8293c8baa5e9fc861c547e to your computer and use it in GitHub Desktop.
Save hamxiaoz/108de7346a8293c8baa5e9fc861c547e to your computer and use it in GitHub Desktop.
@NgModuel({
imports: [], // Import other module
declarations: [], // The components, directives and pipe belong to this module
providers: [], // Provide service (class name) that's defined in **this** module. External service is not needed here.
exports: [], // Export **declarable** classes so that other module can use. This is the public API of the component..
entryComponents: [], // A list of components that are not referenced in a reachable component template in this moodule.
bootstrap: [] // Usually root component.
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment