Articles on Hostbinding

Colors
Will Ockelmann-Wagner

Will Ockelmann-Wagner

Using Host Instead of “replace: true” in Angular 4

Let’s say that you’re working on an Angular 4 app that displays some images. You want to add a directive you can apply to any image tag to make it look fancy when you mouse over it. You also want a component that will take up 100% of its parent container’s width and display an