Creating Reusable Components using Angular 2
Submitted by Prasath K (@prasath-kae) on Sunday, 14 August 2016
In Angular 1, we used Controllers, Directives and Scope to build DOM elements and add some logic behind to it. Angular 2 drops all of this for a much cleaner, more object-oriented component model.
This talk is about creating reusable components using Angular 2 and how to share information between components using Input and Output. The audience can be anyone who are interested in developing Angular 2 applications or who want to build open source utility components for Angular 2 applications.
The idea of the talk is to build a complex application in a modularized way so that the same component or module can be used in different places.I will cover the following things.
Difference between Component and Directive decorator.
Explain some of the key properties of ComponentMetaData.
Creating an utility component (Multi select list box).