It is difficult finding a real time Currency Conversion API for free,. in this post we will demo a FREE API. The Exchange rates API
Update to Angular 9 in 6 easy steps
Angular launched its 9th version on Feb 7, 2020. Follow the steps below to move from Angular 8.0 -> Angular 9.0
Features with ES6
How Data Binding works in AngularJS?
In AngularJS, data binding is synchronization of data between the model and the view. The model in AngularJS act as a single-source-of-truth. The view is
ng serve to serve the angular application
Prerequisites Node 6.9.0 or higher NPM 3 or higher Angular CLI Create a new workspace and generate a new sample application by running the following
How to determine if the variable is undefined or null in AngularJS?
How to determine if the variable is undefined or null? Angular have angular.isUndefined but not angular.isUndefinedOrNull. In this post, we will show 3 ways to determine if
How to write ngIf Else Condition Statement in Angular?
Angular 4 updated the *ngIf directive with new feature that allows us to use if/else style syntax as shown below Using If <div *ngIf=”isValid”> If
Difference between ng-if and ng-show or ng-hide?
ngIf The ngIf removes the HTML element if the expression evaluates to false. If the expression evaluates to true, a copy of element is added in the
Angular directive scope attribute
In AngularJS, Scope works as a glue between controller and model. While working with directive you can use scope attribute and it can be true,
Different ways of injecting dependency in an AngularJS Application, Controller, Service, Factory
While working as a AngularJS developer, You should aware about different ways to inject DI into AngularJS Application, Controller, Service and Factory. Passing a dependency
Getting error while creating enum with Angular CLI? Is it a bug with Angular CLI?
I got the following error while trying to create enum with Angular CLI:
Cannot read property ‘0’ of undefined …
Generate Routing Application using Angular CLI
Create a new workspace and generate a new Routing application by running the following command in command prompt…