November 2016
Beginner
124 pages
2h 18m
English
Like for previous chapters, let's create a new project as explained in Chapter 2, Setting Up an Angular 2 Development Environment with angular-cli. You can also remove all the existing folders and remove all the unnecessary code from app.component.ts:
[app.component.ts]
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template: `<h1>Angular2 components</h1>`
})
export class AppComponent {}Read now
Unlock full access