title: JavaScript files inclusion in specific order
body: <p>I have some <code>JavaScript</code> files that i want to include in my application in such order that these following 3 files</p>
  
  <pre><code>&lt;script src="lib/angular.js"&gt;&lt;/script&gt;
  &lt;script src="lib/jquery-mobile-angular-adapter.js"&gt;&lt;/script&gt;
  &lt;script src="lib/custom.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>always execute after these 6</p>
  
  <pre><code>&lt;script src="lib/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="lib/jquery.mobile.js"&gt;&lt;/script&gt;
  &lt;script src="lib/custom1.js"&gt;&lt;/script&gt;
  &lt;script src="http://include.jaydata.org/jaydata.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="lib/DBData/InMemoryProvider.js"&gt;&lt;/script&gt;
  &lt;script src="lib/DBData/SpookyHealthEntities.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>currently i am doing like this</p>
  
  <pre><code>&lt;script src="lib/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="lib/jquery.mobile.js"&gt;&lt;/script&gt;
  &lt;script src="lib/custom1.js"&gt;&lt;/script&gt;
  &lt;script src="http://include.jaydata.org/jaydata.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="lib/DBData/InMemoryProvider.js"&gt;&lt;/script&gt;
  &lt;script src="lib/DBData/SpookyHealthEntities.js"&gt;&lt;/script&gt;
  &lt;script src="lib/angular.js"&gt;&lt;/script&gt;
  &lt;script src="lib/jquery-mobile-angular-adapter.js"&gt;&lt;/script&gt;
  &lt;script src="lib/custom.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But in this way last 3 executes before the first completes so i am getting error because in last 3 files my some code have to execute once the first 6 complete there whole execution</p>