Hacker GitHub

← All repos

olov/ng-annotate

View on GitHub ↗ ★ 1,998 JavaScript

Add, remove and rebuild AngularJS dependency injection annotations

4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2014-10-03 · latest 2015-09-23

Mentions per year 4 mentions · busiest year 2014 (2)
20082026
  1. The array notation can be automatically added to your build tool (gulp, grunt) using ngAnnotate: https://github.com/olov/ng-annotate . This reduces the amount of duplication and Angular boilerplate around dependency injection. Most Angular…
    comment by joeyrobert · 2015-09-23 · in Criticisms of Angular
  2. …their dependencies injected so you can avoid explicitly typing out the verbose array syntax. (e.g. https://github.com/olov/ng-annotate )
    comment by postnihilism · 2015-06-24 · in Introducing the Famous Framework
  3. …[0] will automatically generate array notation DI statements in most of your application code. [0] https://github.com/olov/ng-annotate
    comment by Cthulhu_ · 2014-10-14 · in AngularJS 1.3.0
  4. I haven't found anything that doesn't work either automagically or with explicit annotations[0]. [0]: https://github.com/olov/ng-annotate#explicit-annotations
    comment by sanderjd · 2014-10-03 · in Mistakes AngularJS Developers Make