Angular2 basic theory.
-
Install Anguar cli globally
npm install -g @angular/cli
-
Generate a new project and skeleton application
ng new <project_name>
-
Go to the project folder
cd project_name
-
Launch the server
ng serve --open
-
Create component using cmd
ng generate component <component_name>