3 ms·
It's quite possible they did do that. For example, Angular parses your source to perform Dependency Injection based on argument names.
by DCoder 9y ago
It's quite possible they did do that. For example, Angular parses your source to perform Dependency Injection based on argument names.
- Akujin 9y agoWell thanks for that. Now I know what not to use.
- jinglebells 9y agoThat's AngularJS released in 2010. Angular 4 is TypeScript and therefore much less hacky.
- tomca32 9y agoTo 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.