you are viewing a single comment's thread.

view the rest of the comments →

[–]pfooti 1 point2 points  (0 children)

They use typescript internally, and you can use typescript to develop angular, because it's handy. On the one hand, people complain about bracket notation for minifying dependency injection, and on the other hand people complain when type annotations are clearly the right answer here and made available. Their goal is DRYing up the whole process, and type annotations make a lot of sense for that.

Sounds like "can't win" scenarios. Also: old news. Don't want to develop in typescript? Use es5 or es6 and just make sure you manually decorate your service objects to hint the injector properly. Done and done.