List of modules already bootstrapped in angularjs
<blockquote>
  <p>I want to know the list of modules already bootstrapped.</p>
</blockquote>

<p>I have use ng-app with main modules but there are small modules which are inside it . I have used $controller service inside main controller to access controller of sub module .</p>

<p><strong>So is there any way to know that whether modules is bootstrapped or not?</strong></p>

<p>Sample structure</p>

<pre><code>&lt;div ng-app="main"&gt;
 &lt;div ng-controller="mctrl"&gt;
 &lt;/div&gt;
 &lt;div ng-app="sub"&gt;
  &lt;div ng-controller="subCtrl"&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Controller</p>

<pre><code>var app = angular.module('main',[]);
app.controller('mctrl',function($scope,$controller){
      var sub = $scope.$new();
      //check module is bootstrapped or not
       $controller('subCtrl',{
         $scope:scope
       });
      sub.check();//getting instance of controller 
});
</code></pre>