I\'m getting the following error:
Error: [$injector:unpr] Unknown provider: nProvider <- n
I know this is being caused by the minifi
While there does not appear to be any great way to debug these DI issues if you have no idea where to look, I had a sense mine was in a less than obvious place ... and it was:
App.Services = angular.module('spokenvote.services', ['ngResource', 'ngCookies'])
.config(servicesConfig)
.run(($rootScope, $location) -> $rootScope.location = $location)
needed to be:
App.Services = angular.module('spokenvote.services', ['ngResource', 'ngCookies'])
.config(servicesConfig)
.run(['$rootScope', '$location', ($rootScope, $location) -> $rootScope.location = $location])