by Yogesh | Jul 31, 2018 | Angular 4 Tutorial
The ngClass too works on the same lines, except that it is used to toggle one or multiple classes. For example, check out the following code: import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-ngclassex', templateUrl:...
by Yogesh | Jun 12, 2018 | Angular 4 Tutorial
In this example, I am gonna show you that how we can read complex JSON object using angular, I also use [ngSyle] to decorate our HTML table. import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-ngstyleex', template: ` Read Array of Object {{...