Actually it should be $get:any see example : http://docs.angularjs.org/api/AUTO.$provide#methods_provider