Start to finish guide to Angular 2 based on Udemy course
npm install -g angular-cli
ng new first-app //ng new name of the project
ng serve
Go to localhost:4200 to view the page
`import { Component } from '@angular/core';
//decorator @Component({ selector: 'app-root', //How we want to insert it into our html code templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent {
} `