Angular - Q&A
bootstrapping [when angular app runs initially] lifecycle types of directives : package.json ng new <app-name> component -> typescript file Also called annotation or meta data. Angular Architecture. -> ROUTING Implementation: View < -- >.html file < --- > .Routing.ts File routerLink instead of href router-outlet : division of page where the routerLink component will be loaded. path & component : in routing.ts file Routing can also be done from Component ( .ts File) : -> LAZY Loading : on-demand loading OR loading what is essential and necessary. Implementation in Angular : break project in form of child/multiple components . loadChildren : in routing.ts file provide path for the component for which u want lazy loading. > Services: Ex : Validation / Loggers / HTTP ... implemented inside .Module.ts file initializing the dependency directly without new keywo...