How to Deploy an Angular app in Production with Nginx
In this tutorial, I will show you Nginx installation and configuration steps to serve the Angular application in production. I am gonna use Ubuntu 16.04
In this tutorial, I will show you Nginx installation and configuration steps to serve the Angular application in production. I am gonna use Ubuntu 16.04
In this article, you will learn how to use cascading DropDownList using Angular application. In following tutorial you gonna use Angular CLI to create an
Using HTTP service directly in all over the application is not scalable, its only work for small applications. Having a central location to manage HTTP
The NgSwitch directive lets you to insert different sets of elements into the document based on a specified value or expression.NgSwitch Directive resides inside CommonModule
Inside the root app component, Inject the Router and subscribe to route change events and detect the NavigationStart event with the event type instance, its
Here is the quick JavaScript code snippet to capitalize the first letter of a string. function ucFirst(string) { return string.charAt(0).toUpperCase() + string.slice(1); } How to
In this post, will take an array of objects and paginate it using JavaScript. Depending on your needs sometimes you may wish to create a
Angular 2 provide different ways to apply class to the elements based on certain conditions. In this post I would like to show you couple
The exponentiation operator was introduced in ECMAScript 2016, ** is used to denote this operator. It accepts base on its left-hand side and exponent on
To refresh or reload the active or current pages using JavaScript, you can use the location.reload() ,and setTimeout() methods. The reload() method does the same
Destructuring is alluring language feature, I’ve been using the most. Destructuring is provides a convenient way of extracting multiple values from the objects, Arrays, Map
In this post I will show you, how we can create custom async validator to check for email availability, same logic you can apply for
We gonna use ECMAScript 2016’s new includes() method to determine whether an array contains a specific element. The new method includes(searchElement, fromIndex) function searches an
Promises can replace the asynchronous use of callbacks, and they provide several benefits over them. Basic Promise Usage A new Promise is created with the
In my previous post I wrote about let keyword, in this post I would like to write about another new ECMAScript 6 keyword, const. There