Latest Posts

Progressive Web Apps (PWAs) in Angular – Part 2

Progressive Web Apps (PWAs) in Angular – Part 2

October 18, 2018 01:23AM | Angular
Google Chrome version 70 was released earlier this week. Among other features, it added support Progressive Web Apps (PWAs) on desktops. This give me an idea for this post where we are going to dive a little bit deeper into PWAs. If you are new to PWAs, please check my …

A Better Approach to Environment Variables in Angular

A Better Approach to Environment Variables in Angular

October 12, 2018 10:43AM | Angular
Angular provides a default way to configure environment variables, which you can learn more about here. But in a nutshell, you have different environment files, where you store environment variables and during the build process, angular compiler will use the correct environment …

Creating Reusable Components in Angular

Creating Reusable Components in Angular

October 9, 2018 11:41AM | Angular
In this post, we are going to look at tips you can use to make your components more reusable. Reusing components allows developers to avoid code duplication, which can introduce errors and bugs and are also hard to troubleshoot. Take for instance a shopping site, the product …

Angular Material 7 and CDK News and Updates

Angular Material 7 and CDK News and Updates

October 5, 2018 01:27AM | Angular
In this post, we are going to take a closer look at changes we expect on both Angular Material 7 and Content Development Kit(CDK). While this two are separate packages, they often go hand in hand, as Angular Material relies on some packages found in Angular CDK. But you can use …

A Closer Look at the Drag and Drop Feature for Angular 7 CDK

A Closer Look at the Drag and Drop Feature for Angular 7 CDK

October 3, 2018 12:29PM | Angular
In this post, we are going to take a close look at the drag and drop feature coming to Angular 7 Content Development Kit (CDK). We are getting closer to the release of Angular 7, so it is only fair to see what is in store for us. You can learn more about angular 7 here. So, to …

Using App Shell to Improve Performance – Angular 6

Using App Shell to Improve Performance – Angular 6

October 1, 2018 12:07PM | Angular
Angular apps take time to show meaningful content to the user. This time is mainly after loading the index.html page and bootstrapping the app. This is especially worse on lower end devices or slower networks, where it takes longer to get the all files required to bootstrap the …

Role Based Authorization in Angular – Route Guards

Role Based Authorization in Angular – Route Guards

September 28, 2018 02:46PM | Angular
In this post, we are going to use Route Guards to determine which user can and can not access certain pages. It is common to have multiple user roles such as guest, author, editor, admin for a blogging site such as this one. Therefore, it is important to determine who has …

Docker Compose - Angular Multi Environment Deployments

Docker Compose - Angular Multi Environment Deployments

September 26, 2018 10:44AM | Angular
In a previous post, we covered how to use multiple dockerfile to target different environments for an angular app. In this post, we are going to take things a bit further along using docker compose. We shall use multiple docker compose configuration files to override the …

Attaching Authorization Token Headers in Angular 6

Attaching Authorization Token Headers in Angular 6

September 23, 2018 12:55PM | Angular
In a previous post here, we looked at how to intercept HTTP unauthorized responses, and refresh authorization tokens and resend the original request, with the new authorization token. This had me thinking, what if you wanted to be more proactive. In this post, we want to get …

Cool Password Validation – Angular Reactive Forms

Cool Password Validation – Angular Reactive Forms

September 18, 2018 11:34PM | Angular
In this post, we are going to be creating a simple signup form, with email, password and confirm password controls. We will then validate the data to ensure it fulfills our requirement before a user can submit the form. We are going to enforce the following rules for the …

Angular 7 Spotlight – News and Updates

Angular 7 Spotlight – News and Updates

September 17, 2018 10:31AM | Angular
We are about a month or less for the official release of Angular 7. Today, we are going to take a closer look at what to expect in Angular 7, Angular Material and how you can try out the new version of Angular. So, without further ado. Angular 7 and Angular CLI First, let’s …