angular2-style-guide
angular2-style-guide copied to clipboard
Use HostBinding/HostListener instead of host property
I'm not really fond of this recommandation.
Look at this code : https://github.com/angular/material2/blob/master/src/components/checkbox/checkbox.ts
Having to declare all the properties set in the host property will make the code far less readable.
Well, perhaps it's just a matter of taste.