Angular Material Calendar Component

As of version Angular Material 7.1, there is still no mention of the calendar component in the official Angular Material docs. The form controls include a datepicker component, which internally uses a calendar popup for date entry. However, if you want to display a calendar that is always open, the date…

13 Comments
Decode JSON Web Tokens (JWT) in Angular
Decode JWT Tokens in Angular

Decode JSON Web Tokens (JWT) in Angular

JSON Web Tokens (JWT) are commonly used in single page application frameworks like Angular for authentication and authorisation. This is due to their small size and high security. JWT tokens can store a lot of information and we need a way to decode this token easily. Unfortunately, Angular does not…

0 Comments
Parse PDF Documents in Angular with PDFjs
Parse PDF documents with pdfjs in Angular

Parse PDF Documents in Angular with PDFjs

Generate a new Angular application, if you do not have one already: ng new PdfReader Download pdfjs-dist from npm: npm install pdfjs-dist Create a service under src folder using the following command: ng generate service PdfReader Replace the contents of the generated service with the following: import { Injectable }…

0 Comments
Monitoring Live Angular Apps with Azure Application Insights
Azure Application Insights with Angular

Monitoring Live Angular Apps with Azure Application Insights

I previously explained how to add App Insights to a .NET Core Web API so that we can monitor the performance and failure rates of our APIs. What about client-side applications? In this post, I will show you how you can add Azure Application Insights telemetry to an Angular application.…

2 Comments
How to Sort Array of Objects by Date in JavaScript
JavaScript Sort Array of Objects by Date

How to Sort Array of Objects by Date in JavaScript

I recently had to figure out how to use JavaScript sort to order objects by date property. JavaScript sort method is available on array objects in JavaScript. It mutates the array, which means it modifies the elements of the array while sorting. The sort method has excellent support across all…

0 Comments
Best Visual Studio Code Extensions for Angular Developers
Best Visual Studio Extensions for Angular Developers

Best Visual Studio Code Extensions for Angular Developers

Without a doubt, Visual Studio Code is one of the most popular front-end IDEs. It's popularity is due to its speed and customisability with extensions from the marketplace. Even though Microsoft has been improving VS Code to include new features, there are still missing features! I will share the best…

2 Comments
Close Menu

Subscribe

Join my developer newsletter to be the first to know about my new articles!