October 2017
Intermediate to advanced
280 pages
6h 50m
English
We have already built our simple "Hello world!" app. Now, let's start building something that is closer to a real-life application. By the end of this section, we'll have a simple application that lists a number of items we need to do and greets us at the header of the page.
Let's start by developing the root component. The two modifications from the preceding example that we need to make are renaming the target property to name and adding a list of todos to the controller definition of the component:
// ch5/ng-for/detailed-syntax/app.ts import {Component, NgModule} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; ...Read now
Unlock full access