Angular Route Resolvers

 angularjs, Tutorial

Photo by @epicantus Let's see Angular route resolvers in action. You are creating an Angular Typescript application. You have created a few services for it that contain a couple of

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"