Update Angular Module Architecture Documentation (#6575)
* Information about creating modules. * Made changes. * Update src/data/roadmaps/angular/content/creating-modules@9YhTXybJw2gszlqFeBtW3.md fixed styling * Commited the Module Architecture * Update src/data/roadmaps/angular/content/creating-modules@9YhTXybJw2gszlqFeBtW3.md * Update src/data/roadmaps/angular/content/module-architecture@BCq5sgWQLiw0f7u7ZSAd2.md --------- Co-authored-by: dsh <daniel.s.holdsworth@gmail.com> Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/6579/head
parent
e806072336
commit
0f1f198b66
2 changed files with 7 additions and 10 deletions
@ -1 +1,7 @@ |
||||
# Module Architecture |
||||
|
||||
Angular’s module architecture organizes an application into cohesive units called NgModules, each defined by the @NgModule decorator. These modules group related components, directives, pipes, and services to encapsulate functionality and promote modular development. The root module (AppModule) is the entry point, bootstrapping the application and importing essential modules like BrowserModule. Feature modules encapsulate specific functionalities and can be eagerly or lazily loaded to improve performance and manageability. Shared modules group reusable components and services to prevent code duplication. The @NgModule metadata includes properties like imports, declarations, exports, providers, and bootstrap, which help manage dependencies, declarations, visibility, service providers, and the root component. This modular approach enhances code organization, scalability, and maintainability in Angular applications. |
||||
|
||||
Visit following resources to learn more: |
||||
|
||||
- [@article@Angular Architecture](https://dev.to/digitaldino/angular-architecture-39no) |
||||
|
Loading…
Reference in new issue