title: Get module name and its all dependencies list in angularjs
body: <p>I want to get <code>module name</code> and <code>all dependencies list</code> that is <code>injected</code> in <code>application module</code>.</p>
  
  <p>Like : </p>
  
  <pre><code>var app = angular.module( 'wp', ['ngRoute', 'abc', 'xyz'] );
  </code></pre>
  
  <p>So from this i want to get all this component list like <code>wp,ngRoute,abc,xyz</code></p>
  
  <p>Using <code>Angular JS.</code></p>
  
  <p>Thanks</p>