Angular

Web Framework

Versions

Angular JS 1.X => Angular X -> Angular 14 (latest)

AngularJSAngular

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.

Last updated