Articles and Lessons tagged with Angular - Page 3

Deploying Angular 6 and Above Apps to GitHub Pages

Deploying Angular 6 and Above Apps to GitHub Pages

Posted Oct 21, 2018 | | By Maina Wycliffe | Angular
In this post, I am going to show you how to deploy angular apps to GitHub pages. You can think of GitHub pages as a free hosting platform that you can use to host client-based apps. You can host things like demos, portfolios, documentations etc. …
Read More

Progressive Web Apps (PWAs) in Angular – Part 2

Progressive Web Apps (PWAs) in Angular – Part 2

Posted Oct 18, 2018 | | By Maina Wycliffe | 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 …
Read More

A Better Approach to Environment Variables in Angular

A Better Approach to Environment Variables in Angular

Posted Oct 12, 2018 | | By Maina Wycliffe | 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 …
Read More

Creating Reusable Components in Angular

Creating Reusable Components in Angular

Posted Oct 9, 2018 | | By Maina Wycliffe | 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 …
Read More

Angular Material 7 and CDK News and Updates

Angular Material 7 and CDK News and Updates

Posted Oct 5, 2018 | | By Maina Wycliffe | 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 …
Read More

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

Posted Oct 3, 2018 | | By Maina Wycliffe | 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 …
Read More

Using App Shell to Improve Performance – Angular 6

Using App Shell to Improve Performance – Angular 6

Posted Oct 1, 2018 | | By Maina Wycliffe | 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 …
Read More

Role Based Authorization in Angular – Route Guards

Role Based Authorization in Angular – Route Guards

Posted Sep 28, 2018 | | By Maina Wycliffe | 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 …
Read More

Docker Compose - Angular Multi Environment Deployments

Docker Compose - Angular Multi Environment Deployments

Posted Sep 26, 2018 | | By Maina Wycliffe | 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 …
Read More

Attaching Authorization Token Headers in Angular 6

Attaching Authorization Token Headers in Angular 6

Posted Sep 23, 2018 | | By Maina Wycliffe | 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. …
Read More