Angular

Angular

Custom Angular directives

In this post, we are going to talk about one of the most important building blocks of an Angular application. As we know, an application is like a tree of components. And these components are actually directives with a template. We’ll focus on Angular directives, both attribute and structural.

Read
Angular

Creating a toast service with Angular CDK

Angular Material is a great material UI design components library for your Angular applications. All the common parts needed to create components, things like layout, accessibility, common components like grid or tree have been isolated inside the CDK.

Read
Angular

Using the Angular Router to navigate to external links

How to use the Angular router to navigate to external pages. This is helpful to trigger guards and warn the user or save data.

Read
Angular

Custom preloading strategy for Angular modules

Lets say we have a medium sized Angular application and each large feature split into a lazy loaded module. When the application starts, we load only the main modules and all the routes are lazy loaded, including the first one that we navigate to.

Read
Angular

Angular location service

There is a small and well hidden service inside Angular: the location service. As the name and documentation suggests, this is a class that is used to interact with the browser URL.

Read