How to Use Attribute Directives to Avoid Repetition in Angular Templates | Dark Hacker News