February 2017
Beginner to intermediate
294 pages
6h 9m
English
To turn this application into an SPA, follow these steps:
// src/app/app.routes.ts
import {Routes} from '@angular/router';
import {CollectorComponent} from "./collector/collector.component";
import {RatingComponent} from "./rating/rating.component";
import {NotifierComponent} from "./notifier/notifier.component";
export const rootRouterConfig: Routes = [
{path: '', redirectTo: 'collector', pathMatch: 'full'},
{path: 'collector', component: CollectorComponent},
{path: 'rating', component: RatingComponent},
{path: 'notifier', component: NotifierComponent}
];
Now notice ...
Read now
Unlock full access