 <p>This cannot be done.</p> <p>But you can use tools for minify the sources. See <a href="https://developers.google.com/closure/">Google Clousure</a> and <a href="https://github.com/btford/ngmin">ng-min</a> for angular.js</p> <p>I recommend you to use grunt to build one single js file for you application, with all of your code minified. Take a look at those projects that may be useful: <a href="http://joshdmiller.github.io/ng-boilerplate/#/home">ng-boilerplate</a> and <a href="https://github.com/yeoman/generator-angular">yeoman - angularjs</a> </p>