January 2018
Intermediate to advanced
332 pages
7h 36m
English
We will use angular-material to style the app, as it is quick and reliable. To install angular-material, run the following command:
npm install --save @angular/material @angular/animations @angular/cdk
Once angular-material is saved into the application, we can use the Button component provided to create the UI necessary, which will be fairly straightforward. First, import the MatButtonModule that we want to use for this view and then inject the module as the dependency in your main AppModule.
The final form of app.module.ts would be as follows:
import { BrowserModule } from '@angular/platform-browser';import { NgModule } from '@angular/core';import { FormsModule } from '@angular/forms';import { HttpModule } from '@angular/http' ...
Read now
Unlock full access