Adding Angular 6 Routing

Angular CLI provides the --routing switch (ng new crmapp --routing) that enables you to add routing automatically but we're going to add routing manually for the...

Understanding the AppComponent

Go ahead and open the src/app/app.component.ts file and let's understand the code behind the main/root component of the application. First, this is the code: import { Component }...

Components in Angular 6|5|4

A component is a TypeScript class with an HTML template and an optional set of CSS styles that control a part of the screen. Components...

Installing the Angular CLI (v6.0.0)

Make sure you have Node.js installed, next run the following command in your terminal to install Angular CLI v 6.0.0. npm -g install @angular/cli You can check...