You want to add a directive you can apply to any image tag to make it look fancy when you mouse over it. Join Stack Overflow to learn, share knowledge, and build your career. Here the button element is the host element. Angular 2 Components: Inputs and Outputs. This Angular Online course covers everything you need to know about best practices from a beginner to an advanced level with Angular … Let's take a look at the component template first. We use the same name same as the select name ttClass. This will enable us to use the property binding syntax