mhevery/angular.js — comment on commit 824c8a256cd980e9630210f85c6287a2700b16bd
File: src/Injector.js line 288
By IgorMinar:

why don't you check $eager first and then use a regexp instead of this?