I have just started learning Angular JS and created some basic samples however I am stuck with the following problem.
I have created 2 modules and 2 controllers.
In my case I had to wrap the bootstrapping of my second app in angular.element(document).ready for it to work:
angular.element(document).ready
angular.element(document).ready(function() { angular.bootstrap(document.getElementById("app2"), ["app2"]); });