You can clone with
HTTPS or Subversion.
I have an app which is initialized by angular.bootstrap() as
described as Manual Initialization in http://docs.angularjs.org/guide/bootstrap
How can I run the e2e test for the app?
The scenario runner needs to be able to find the root element, put ng-app on it, so you need to bootstrap document.body or something (because you can't put a css class on document):
document.body.className = document.body.className + ' ng-app';
This works. Thanks.
but why? what is the difference putting ng-app in your static html?
Please visit: http://github.com/dai-shi/connect-prerenderer
Hopefully, you get the idea: First, the HTTP server returns a pre-rendered HTML page,
and based on a certain request (ex. user clicks, or timer), the angular bootstrap begins.
If it helps, I've created a preprocessor for Karma that will inject the ng-app fix mentioned by vojtajina.