Static websites with Angular, lazy mode.

I had to do a project for a friend and because Hugo is a nice tool yet a bit uncomfortable to use, I decided to use Angular. After finishing the website’s routes, css and images I have the project to my friend and he had a bit of a trouble deploying it on his Apache server. His host wouldn’t allow .htaccess. Q.Q The solution? Rename index.html to contact.html, team.html, project.html, objectives.html and voila! A temporary solution until the htaccess problem is solved. ...

September 11, 2018 · 1 min · Denis Nuțiu

Angular HTTP Interceptors: What are they and how to use them

Photo by Tyler Milligan on Unsplash Hello, In this short article I will try to explain what is an HTTP interceptor and how to use it. My article is based on the Angular’s official documentation which I strongly recommend to take a look at, you can find it here: intercepting-requests-and-responses. In case you’re wondering, the contents of this article is valid for Angular 2, 4 and 6, which now is called Angular. AngularJS is the old version, namely version 1.0 ...

May 22, 2018 · 3 min · Denis Nuțiu