Open jstirnaman opened 9 years ago
It looks like the pattern for supporting minification is generally to use the expanded signature for modules. e.g. //Controllers var myController = function(anyVariableName, $http) {} myController.$inject = ['$scope', '$http']
//Modules var myModule = angular.module('myModule', [ //Dependencies go here as an array of strings.])
//Services myModule.service('serviceName', ['$http', '$location', function($http, $location) {}])
In develop branch, minified JS does not work with testing framework without a workaround. Add a workaround and switch the app back to minified.