Angular Material 8 | Adding Multiple Tables on Single Component Tutorial

Angular material tables provide the fully loaded table components in which we can easily add sorting, paging, filter like features without any much codding. It works like charm in real-world applications and provides a nice user-friendly user interface.

Sometimes our component may represent more than one grid of tabular data, in that case, it becomes a bit confusing on how to add more than one Angular material tables in a single component having respective sorting and pagination components. Continue reading Angular Material 8 | Adding Multiple Tables on Single Component Tutorial

Angular 7/8 | Hide Div on Click Ouside Angular Tutorial

In this tutorial, we will learn how to trigger click events on an element when we click outside of that element container in Angular.

We used to have a target element in JQuery using which we could have easily detected if the clicked element is the same element or its outside that element.

In Angular, we will use a nice package module called ng-click-outside which provides a directive component to trigger click event when we click outside of an element with click event bindings. Continue reading Angular 7/8 | Hide Div on Click Ouside Angular Tutorial

Angular 7/8 | Owl Datepicker & Timepicker using Ng Pick Datetime Tutorial by Example

In this tutorial, we will discuss another but popular Date and Time picker supported by Angular 2+ applications. It is well supported for Datepicker with integrated time picker and Range of date and time picker.

Here we will discuss its installation on a new Angular project and all possible features and scenarios which we come across in a real-world app. Continue reading Angular 7/8 | Owl Datepicker & Timepicker using Ng Pick Datetime Tutorial by Example

Angular 2+ Useful Pipes Library Package for Strings Objects Date and more

In Angular data manipulation at the client-side is a common practice for which we may spend much of our development time in thinking logics for some simple formatting and operations.

In this tutorial, we will discuss a very powerful NPM package that is fully loaded with a number of useful pipes that require no external dependencies to be installed. Just install, configure and start using it.

Continue reading Angular 2+ Useful Pipes Library Package for Strings Objects Date and more

Angular 7/8 | HTTP Global Spinner Loader using ng-http-loader Tutorial by Example

In this tutorial, we will implement a global Spinner Loader in the Angular project by using a third-party package. The Spinner loader is shown whenever there is a pending HTTP call using Interceptors. This spinner loader comes with many configuration settings to customize its look and feel in your project.

Angular interceptors were introduced after version 4.3, which are used to handle HTTP calls behavior to the next level. This Loader Spinner also creates an interceptor to show or hide spinner loader automatically, but we can also control it to show/ hide manually for specific situations. Continue reading Angular 7/8 | HTTP Global Spinner Loader using ng-http-loader Tutorial by Example

Angular 7/8 | How to Cancel HTTP Calls on Router Change

Angular Interceptors play an important role to control and manipulate HTTP calls behavior which we do to get remote data from the server.

In this tutorial, we will get to know how to cancel unnecessary HTTP get, post or any request to server after a user route to another component in an application using Angular Interceptor services. Continue reading Angular 7/8 | How to Cancel HTTP Calls on Router Change

Angular 8/7 | Radio Value Selection and Getting Updated Object in *ngFor Listing Example

In Angular, listing radio form controls and setting their behavior becomes tricky sometimes. There is a number of things a developer wants to do with a list of radio controls which are usually populated dynamically using an Object with JSON from the server-side.

Listing of items in Angular is done using *ngFor directive which is used to iterate over the values in an array or object.

Here we will discuss Radio control listing using a dynamic set of data in JSON format with a demo of the User Access Management page with a very simple explanation. Continue reading Angular 8/7 | Radio Value Selection and Getting Updated Object in *ngFor Listing Example

Resolved! Can’t bind to ‘ngForOf’ since it isn’t a known property of ‘div’

In Angular views for displaying object values in a list, we use *ngFor directive to iterate values. This directive takes out each row in the object and creates repetitive blocks of an element which is having NgFor. Continue reading Resolved! Can’t bind to ‘ngForOf’ since it isn’t a known property of ‘div’

Angular 8 | Re-sizable Elements and Layouts in Angular 8 Application

In this tutorial, we will Implement resizable feature on elements and layout. By adding resizable feature a user can resize a container or element by dragging from corners.

The resizable feature can be added in many areas in an application to resize the editable container, Images, Dashboard sections, etc.

Continue reading Angular 8 | Re-sizable Elements and Layouts in Angular 8 Application

Angular 8 | Nested Routing with Multiple RouterOutlet using loadChildren having own Router Modules Example Application

In our previous tutorial, we discussed how to implement a very basic Routing Module in an Angular 8 application. Here we will go a step further to discuss some more concepts related to Routing in Angular 8 application.

What we are going to create?

Create an Angular 8 application which will have Nested Routing up to three levels. Each level of components has its own Router Module. We will also discuss How to use lazy loading concept in Angular 8 Routing to load components on run time when they are called.

Continue reading Angular 8 | Nested Routing with Multiple RouterOutlet using loadChildren having own Router Modules Example Application