replace with

if (!angular.injector()) throw