Hello I am trying to manually bootstrap an angular app, but there is some business that needs to be taken care of first.This article mentions the technique I am interested i
root element must be in inserted in document. See http://plnkr.co/edit/OrgStgw4NpjU2LcIFXsB
var rootElement = angular.element(document); var mockApp = angular.module('mockApp', []).provider({ $rootElement:function() { this.$get = function() { return rootElement; }; } });