match $httpProvider.responseInterceptors (btford/ngmin#37)
more robust detection of existing Foo.$injects array