dimanche 28 février 2016

AngularJS unit test pascalprecht.translate not available

Uncaught Error: [$injector:nomod] Module 'pascalprecht.translate' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://ift.tt/13Se6sU$injector/nomod?p0=pascalprecht.translate (anonymous function)
(anonymous function)
ensure
module
angular.module
(anonymous function)
(anonymous function)
(anonymous function)

I have included in the index.html : '../js/angular-translate/*.js',

and in app.module : angular.module('app name', [..,'pascalprecht.translate',])

Aucun commentaire:

Enregistrer un commentaire