How to upgrade to latest Angular CLI

To check which version of Angular CLI is installed on your machine, run the command ng –version as shown in the image below: As you see that on my development machine, Angular cli version 1.0.0 is installed. At the time of writing of this post, latest version of Angular CLI was 1.1.3. To upgrade to … Continue reading How to upgrade to latest Angular CLI

Advertisements

Communication Between Components Using @Input() in Angular

In Angular 2 a component can share data and information with another component by passing data or events. A component can be used inside another component, thus creating a component hierarchy. The component being used inside another component is known as the child component and the enclosing component is known as the parent component. Components … Continue reading Communication Between Components Using @Input() in Angular