I have the following module:
var appEcommerce = angular.module("appEcommerce", [ 'ngRoute']);
But I get an error putting another dependency. Ex:
var appEcommerce = angular.module("appEcommerce", [ 'ui.mask','ngRoute']);
How am I injecting correctly?
This is the error:
[$ injector: modulerr] link $ injector / modulerr? p0 = appEcommerce & p1 =% 5B% 24injector% 3Amodulerr% 5D% 20http% 3A% 2F% 2Ferrors.angularjs.org% 2F1.5.7% 2F% 24injector% 2Fmodulerr% 3Fp0% 3Dui.mask% 26p1