javascript - AngularJS minError Uncaught Object -



javascript - AngularJS minError Uncaught Object -

i have new angularjs project i've set up. i've installed angular , angular-resource via bower , all's good. i've installed service i've used before - https://github.com/fundoo-solutions/angularjs-modal-service when inject module causes error below:

uncaught object

it's pointing homecoming statement of function in angularjs:

function minerr(module) { homecoming function () { var code = arguments[0], prefix = '[' + (module ? module + ':' : '') + code + '] ', template = arguments[1], templateargs = arguments, stringify = function (obj) { if (typeof obj === 'function') { homecoming obj.tostring().replace(/ \{[\s\s]*$/, ''); } else if (typeof obj === 'undefined') { homecoming 'undefined'; } else if (typeof obj !== 'string') { homecoming json.stringify(obj); } homecoming obj; }, message, i; message = prefix + template.replace(/\{\d+\}/g, function (match) { var index = +match.slice(1, -1), arg; if (index + 2 < templateargs.length) { arg = templateargs[index + 2]; if (typeof arg === 'function') { homecoming arg.tostring().replace(/ ?\{[\s\s]*$/, ''); } else if (typeof arg === 'undefined') { homecoming 'undefined'; } else if (typeof arg !== 'string') { homecoming tojson(arg); } homecoming arg; } homecoming match; }); message = message + '\nhttp://errors.angularjs.org/1.2.18/' + (module ? module + '/' : '') + code; (i = 2; < arguments.length; i++) { message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' + encodeuricomponent(stringify(arguments[i])); } homecoming new error(message); }; }

i think it's saying error doesn't exist?

am missing module or something?

one of reason why person error angular.. module have included not injected i.e. must inject dependency injection before using that. so, please create sure it's done

and

other reason define ng-app="" , create sure file in have written angular app code i.e. angular.module('<app-name>', []) included script file.

hope help!

javascript angularjs

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -