Articles for August 2015

Host and Visibility in Angular 2’s Dependency Injection

One of our articles discussed the concepts and ideas behind the dependency injection pattern, and also, how that pattern is implemented in the Angular 2 framework. We covered what injector bindings are and how those relate to actual dependency instances. Even though this article gave us a very good picture of what is going on, there’s still one topic unexplored: Visibility.

Source: Host and Visibility in Angular 2’s Dependency Injection

Angular 2 Template Syntax Demystified – Part 1

Angular 2 introduces it’s own kind of template syntax in order to implement different binding strategies. This enables the framework to work with any element, no matter if it’s a web component or a native one. However, looking at this syntax the very first time raises a lot of questions. This article discusses the template syntax in Angular 2, why it’s there and how it works.

Source: Angular 2 Template Syntax Demystified – Part 1