Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DCoder
· 9y ago · 0 comments
It's quite possible they did do that. For example, Angular parses your source to perform Dependency Injection based on argument names.
Comments
[–]
Akujin
9y ago
Well thanks for that. Now I know what not to use.
[–]
tomca32
9y ago
To be fair, that was a fallback and was used only if you didn't annotate your dependencies, which is what Angular expected you to do.
[–]
jinglebells
9y ago
That's AngularJS released in 2010.
Angular 4 is TypeScript and therefore much less hacky.