October 2018

A Practical Guide to Angular Directives

  • Satish 

An Angular component isn’t more than a directive with a template. When we say that components are the building blocks of Angular applications, we’re actually saying that directives are the building blocks of Angular applications. Basic overview At the core, a directive is a function that executes whenever the Angular compiler finds it in the DOM. Angular directives are used to extend the power of the HTML by giving it new syntax. Each directive has a name — either one… Read More »A Practical Guide to Angular Directives

Angular Testing: A Developer’s Introduction

  • Satish 

Prerequisites At the time of writing, Angular 5.2 is the current stable version — which is what we’ll be using here. This guide assumes you at least have a solid grasp of Angular 4+ fundamentals. It’s also assumed you at least understand the concept or have some skills writing automated tests. Angular Testing Technologies As you already know, an Angular project is made up of templates, components, services and modules. They all run inside what’s known as the Angular environment.… Read More »Angular Testing: A Developer’s Introduction