For the past three weeks, I have developed and refined a web scrapping script that fetches contents from a certain blog and archives them, including the images into my AWS […]
Category: Angular
Angular 6 – Cannot resolve crypto, fs, net, path, stream when building Angular
My current setup is Angular 6.1.0 with Angular Universal too but the project is based on an old (dead) project which was built on Angular 5. Upon building the server […]
Angular 6.x – 404 page with correct header using Angular Universal
Based on my previous post about adding a 404 page in Angular 4.x, I have added a tweak to return the correct 404 status code header. This process, however, requires […]
Angular 6 – Add scroll to top when route changes
Since Angular apps are SPAs, the page does not reload when navigating through the application/website. If you happen to scroll to the bottom of the page and clicked a link, […]
Setting Title Tag for Angular Applications
Due to the nature of Angular apps being SPAs (single page application), historically, changing title tag or meta tags are not supported by default. However, due to SEO reasons, these […]
Angular 6 – Configure Angular Universal with pm2
Angular Universal allows Angular apps to be run in both the server and in the browser. Before, I used the plain Express server to serve the static Angular application and […]
Using Angular-CLI with Yarn
Recently, I have switched from npm to yarn, however, it seems that my Angular CLI still uses npm. To configure Angular CLI to use yarn globally, just run this: For […]
Angular 6 Now Available
I got a very short window of opportunity to update my dead projects to the latest NodeJS and Angular and I just checked that Angular 6 is now available. My […]
ExpressJS – Serve a Google Verification Page
My portfolio website is using Angular served by ExpressJS. For more than six months, I forgot to check my Google Webmaster tool and it shows that I don’t own the […]
Angular 4.x – Add a 404 page
For a frontend application like Angular, the 404 page is served by the frontend application rather than the web server. To make this work, we should always return the index.html […]