Tag Archives: javascript

ng-content with Angular2 (Transclusion) – AngularCli

ng-content with Angular2 (Transclusion) – AngularCli

ng-content with Angular2 (Transclusion) – AngularCli In this post we are going to look at a special feature in Angular2. The feature allows to create templates such that parent components can inject parts into the view of the child component. The child components use the injected part using ng-content. When should we use ng-content? ng-content… Continue reading »

AngularCli – Passing Data In / Out of Angular2 Components

AngularCli – Passing Data In / Out of Angular2 Components In this post how we can pass data in and out of an angular2 component. Here we are creating an app to increment the input number. We have a textbox to enter a number. We are also creating a component. The number entered in the… Continue reading »

Angular 2 CLI – An Introduction

Angular 2 CLI – An Introduction We have seen before how yeoman allows us to write the apps faster by taking care of most of the scaffolding work [HTTP based Rest Service in Angular JS using Yeoman]. Angular-CLI is a similar feature of Angular 2 providing support of different parts of an angular app, giving… Continue reading »