Posts with Angular Tag

Docker Compose - Angular Multi Environment Deployments

Docker Compose - Angular Multi Environment Deployments

September 26, 2018
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
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
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
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 …

Logging HTTP Response Times in Angular

Logging HTTP Response Times in Angular

September 15, 2018
Most API and Backend Services have a metric service to measure to measure request response times. The one downside of this is, it doesn’t consider network latency, or how the device capability is affecting the performance of your web app. This is important, since a lot of the …

ngFor – Working with Large Lists in Angular

ngFor – Working with Large Lists in Angular

September 14, 2018
ngFor is directive that iterates through a list of data and instantiates a template for each item in the list. It does an amazing job when dealing with small list. The issue with ngFor is that it loads everything on DOM, which is slow – possibly iterating over hundreds of items …

Service Worker – Optimizing the Performance of an Angular App

Service Worker – Optimizing the Performance of an Angular App

September 12, 2018
Basically, a service worker intercepts all outgoing http requests sent by your application on the browser. You can choose which request to respond to by using a set of rules (policies) to guide the service worker on how to handle different requests. This gives your app some …

Angular CdkTable – Working with Tables like A Pro – Part 1

Angular CdkTable – Working with Tables like A Pro – Part 1

September 10, 2018
Angular Component Development Kit (CDK) is a set of un-opinionated developers’ tools to add common interaction behavior to your angular UI with minimal effort. It mainly offers some of the tools found in Angular 2 Material, but with the freedom to use the UI of choice. Whether …

Working with Angular CLI Budgets in Angular 6

Working with Angular CLI Budgets in Angular 6

September 8, 2018
In this post, I am going to cover Angular CLI Budgets in details. So, what are CLI Budgets? CLI Budgets is a way of way of ensuring that your angular final build bundles do not deviate by much from the expected sizes. For instance, if you expected the whole built application …

Must Have Tools for Angular Developers 2018

Must Have Tools for Angular Developers 2018

September 6, 2018
In web development or any job in general, tools are very vital for you to do your job right. Tools help improve productivity, reduce mistakes and provide useful and rich insight towards your code. Angular is build around excellent tools such as Angular CLI. You can improve your …

Angular Hidden Treasures – Features you might know About

Angular Hidden Treasures – Features you might know About

September 4, 2018
In this post, we are going to look at four important features in angular that can help you during your app development life cycle. These features are there but are mainly not openly advertised unless you go out looking for them. This is not because they are not useful but can …

How to Handle Errors Globally in Angular

How to Handle Errors Globally in Angular

September 2, 2018
By default, when errors occur in Angular during runtime, they are written to the browser console. This is great during development and testing but not great when running on production. This is one environment where you have no access to. And the users may lack technical skills …