Angular 4 compareWith Option Selector

 angularjs, Tutorial

Angular introduced a handy directive to help you compare options to select. Lets see how this directive works. Add this directive to your select : <select [compareWith]="byAnimal" [(ngModel)]="selectedAnimal"

Angular.js ngColored Directive


Angular ngColored directive lets you display colors in your templates. Installation bower install ngColored --save Add ngcolored module into your Angular application : angular .module('coloredApp', [ 'ngAnimate', 'ngCookies', 'ngResource', 'ngRoute', 'ngSanitize',