Web Framework
Angular JS 1.X => Angular X -> Angular 14arrow-up-right (latest)
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
main.ts
angular.json
app.module.ts
index.html
app.component.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.
Last updated 2 years ago