Bootstrap in Angular
Angular Components In this topic we will look how Angular work internally and bootstrap application. When you create a new angular project using ng new 'project Name' it will generate many files like shown below: checkout Angular Application with Angular CLI for more... What is Bootstrapping ? Bootstrapping is a technique of loading or initializing our angular application. Angular takes following steps to our first view. 1. Index.html gets loaded. 2. Libraries gets loaded. 3. Main.ts entry point for application. 4. Root Module. 5. Root Component. 6. Templates. Index.html Index.html is the first page to load, you can find index.html under src folder src → index.html. you can see index.html does not contain any javascript or stylesheet file, it only contain html tag <app-root></app-root> inside body. index.html will look as shown below: <!doctype html > <html lang = "en" > <head> <meta charset = "u...