How to add class to your host element in Angular
There are different ways to solve that, depending of the situation or what we want to achieve. Solution A :…
How to use navigator and location DOM variables in TypeScript
Let´s assume, we need to access some DOM variables like navigator and location. And we want to do that in…
How to handle window.event with typescript ?
Normally when we want to catch an event on a page in js: window.onkeydown = function (event) { //Do something…
How to set default paramaters for “ng serve” in config file?
instead of typing : ng serve --host example.com --port 4205 We just want to type ng serve Angular CLI 6+…
Type of licensing & terms of use (software licenses) on your project
Different types of software licenses require you to meet certain obligations if you want to reuse the code Public Domain…
Chrome keyboard shortcuts
What if you could navigate Google Chrome at lightning speed? Well, it turns out you can. By learning a few…
The difference between tilde(~) and caret(^) in package.json
Dependencies & Versions Dependencies are specified in a simple object that maps a package name to a version range. The…
Angular: displaying HTML content without sanitizing/filtering
You might have a situation where you need to display/bind HTML code into some DOM elements. Usually, there’s no problem…
Passwordless Authentication in Node.JS
Broken authentication is the second-highest security risk for web applications. This usually means that session management and authentication aren’t handled correctly.…
Thunder Client (REST API Client for VS Code)
Thunder Client can be looked like an alternative to Postman. Postman is a popular API client that makes it easy for…






