Creating custom directives in Angular | Hacker News Reader