Skip to content

Instantly share code, notes, and snippets.

@MichaelCPell
Created August 8, 2014 23:25
Show Gist options
  • Save MichaelCPell/7ec31bfe6dbbb1dec0cf to your computer and use it in GitHub Desktop.
Save MichaelCPell/7ec31bfe6dbbb1dec0cf to your computer and use it in GitHub Desktop.
module loading error
<!-- config.js -->
applicationModuleVendorDependencies = ['ngCookies', 'ngAnimate', 'ngTouch', 'ngSanitize', 'ui.router', 'ui.bootstrap', 'ui.utils', 'leaflet-directive'];
<!-- application.js -->
angular.module(ApplicationConfiguration.applicationModuleName, ApplicationConfiguration.applicationModuleVendorDependencies);
<!-- layout.server.view.html -->
{% for jsFile in jsFiles %}<script type="text/javascript" src="{{jsFile}}"></script>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment