Angular Pipe to Convert TimeSpan to 7.5 Hour Business Days
Convert Timespan to Business Days using Angular Pipe

Angular Pipe to Convert TimeSpan to 7.5 Hour Business Days

How do you calculate business days of 7.5 hours from a timespan duration in Angular using Typescript/JavaScript? I was recently working on an Angular based project tracking tool. A user requirement came up to display the total duration for a project in business days instead of hours. As an example,…

0 Comments
Angular Routing and Navigation Tutorial
Angular Routing and Navigation

Angular Routing and Navigation Tutorial

Hands On with Angular Routing and Navigation Implement routing in Angular to enable navigation from one view to another. Users click buttons, anchor links and select options in drop-downs to perform tasks in web applications. Routing plays a key role in any modern web application and Angular makes it very…

0 Comments
Download Files with Angular from .NET Core Web API
Download File with Angular from .net core api blob result

Download Files with Angular from .NET Core Web API

In this post, I will show you how easy it is to download a file with Angular using file-saver package. CSV files, Excel spreadsheets, Word documents, PDF reports and images are common types of files that a functional Angular web app needs to be able to download to browser. In…

1 Comment
Easily Decode JSON Web Token (JWT) in Your SPA
Decode JWT Tokens in Angular

Easily Decode JSON Web Token (JWT) in Your SPA

JSON Web Tokens (JWT) are commonly used in single page application frameworks like Angular for authentication and authorisation. JWT tokens contain useful information about the authenticated user such as full name, email address and role details. In certain situations, it is often desirable to grab the details of the user…

3 Comments
Create a Scalable Angular Project Structure
Angular Project Structure

Create a Scalable Angular Project Structure

A scalable angular project structure is something I struggled to implement when I started working on my first real-world Angular project. I generated my fist app in the command-line and kept adding components, services and pipes on the app module. Although Angular CLI does a great job at generating a…

5 Comments