Skip to content

Instantly share code, notes, and snippets.

@gordonmzhu
Last active February 17, 2016 20:47
Show Gist options
  • Save gordonmzhu/5cb3cbdbd3f4466e69b1 to your computer and use it in GitHub Desktop.
Save gordonmzhu/5cb3cbdbd3f4466e69b1 to your computer and use it in GitHub Desktop.
Using angular.run to see if a module loads
(function() {
'use strict';
angular
.module('app', []);
.run(function() {
console.log('did this file run?');
})
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment