Is it possible to access angular services without calling angular.bootstrap on an empty div prior to manually bootstrapping when the ng-app directive is not being used?
While the following method does work, I am interested in finding a more direct solution:
var element = angular.element('<div></div>');
angular.bootstrap(element);
var $injector = element.injector();
var $http = $injector.get('$http');
var $location = $injector.get('$location');