mhevery/angular.js — comment on commit 903cf38f3a1134581d4c799d74d52922ab7148c0
File: src/service/parser.js line 738
By IgorMinar:

can you add a comment to explain what a nasty thing you are doing here? it's not obvious that this is how "static" fromJson taps into the the injector.

A side-effect of this is that angular.fromJson doesn't work until the app is bootstrapped.