Angular
Web Framework
Last updated
Web Framework
Last updated
Versions |
---|
Angular JS 1.X => Angular X -> Angular 14 (latest) |
AngularJS | Angular |
---|---|
AngularJS is an directive based web framework | Angular is an component based web framework |
Angular v1.x = AngularJS | Angular v2.x+ = Angular |
main.ts
(loaded by webpack via the angular.json
)->app.module.ts
-> index.html
-> app.component.ts
app.module.ts
When we are adding components, pipe or decalaration it must be declared in the declaration section.
When we are adding services, they must be declared at the providers section.
import section is used for adding other modules.