Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

Failed to instantiate module in AngularJS due to missing (loaded) provider

Working on an old project using AngularJS, and seem to be getting the good old "Failed to instantiate module" error due to "Unknown provider", but the funny thing is that the module that provides this ...
Guy Park's user avatar
  • 1,067
0 votes
0 answers
128 views

AngularJs inject providers error

I'm trying to inject two providers and I have an error: Error: [$injector:modulerr] Failed to instantiate module App due to: [$injector:unpr] Unknown provider: $paginationTemplateProvider Here's ...
mskuratowski's user avatar
  • 4,174
0 votes
1 answer
346 views

"Restangular" Error: $injector:modulerr Module Error

I try to make authorization in my app with angular. I created app.service and injected "Restangular". And i have this error Error: $injector:modulerr Module Error Failed to instantiate module ...
Anwin's user avatar
  • 71
0 votes
1 answer
44 views

angularJS: Provider of app A not available in config of app B; app B is the main app attached to DOM

I have a Provider defined in an angular module say A, and I am trying to use it in the config of another angular module say B, as shown in the following code snippet: var A = (function(ng){ 'use ...
pranay kumar's user avatar
1 vote
1 answer
53 views

Should angular .value and .constant be used to store initialization values and utility functions?

I have a fairly complex angularJS application built with many modules, factories and controllers. When this was started I used a parameters.js file to store initialization vars and constants used in ...
David's user avatar
  • 3,614
0 votes
0 answers
60 views

How to make configurable directives via providers/ .config()?

Problem: I want to make a directive that works like this: svg-icon('company-logo') I'd also eventually like this to be (jade/html): svg-icon('company-logo', { height: '3em', width: '3em'}) <svg-...
Gina's user avatar
  • 580