Wednesday, November 13, 2019

Angular Minimal options


>> ng new --minimal --routing --style=scss my-site


>> styles.scss
>> routing.ts


Angular App Tour ( foundations)
-----------------------------------------

1) Modules >> organize the code

@Declarations

@imports

@providers

@bootstrap

2) Components

>>>> ng serve  will start the Node server locally in 4200 port


>>> Angular CLI re-complies anytime file is saved

Component contains

selecctor: 
template:
styles:


3) Routes

const routes: Routes = [
         {
              path: '  ',
              component: HomeComponenet
          },



]