Lesser known AngularJS features

function bootstrap() { angular.element(document).ready(function() { var injector = angular.bootstrap(document, ['App']); // Manually invoke a Service method injector.invoke(function(InjectedService) { InjectedService.invokeAnotherMethod(); }); }); } // Angular Manual »