The angularjs-module tag has no wiki summary.
0
votes
2answers
29 views
How to Create Multiple Instances of Angular Module
I have an app with the following basic structure,
weatherDisplayController.js
weatherGrabbingService.js
userColorPreferencesService.js
When the user changes their color preferences for viewing ...
2
votes
1answer
407 views
AngularJS module .run order and e2e mocks
I am working on some E2E tests for AngularJS.
I have implemented a $httpBackend ngMockE2E.
This works well, however in some instances HTTP requests are being made before my mocks have been ...
1
vote
1answer
236 views
AngularJS: uncaught object because of services and modules dependencies
I have a 'maps-services' module with a 'MapService' service as below:
angular.module('maps-services', [])
.service('MapService', [$log, function($log) {
this.initMap = function() {
}
...
1
vote
1answer
31 views
having trouble using the angular.module directive to create a new module
I am having trouble using the angular.module directive to create a new module. here is the code to create the module:
angular.module('dcuapp', [])
.config(dcuRouter);
function ...
0
votes
1answer
41 views
How to spy on ServiceProvider?
What
In my AngularJS app, I am trying to spy on some internals like angular.module and serviceProvider.
How
I have succeeded in spying on angular.module
var moduleCalls = spyOn(angular, ...
0
votes
1answer
689 views
Missing provider for filters "Error: [$injector:unpr] Unknown provider: $pinyinFiltersProvider <- $pinyinFilters
I read several questions/answers about this common and correct some issues related to :
distinction between module and filter ;
module declaration in app.js ;
and injection into another module ;
...
0
votes
1answer
75 views
Why is it necessary to specify Angular modules with factory functions, instead of similar how I specify Node modules?
I've recently begun using angularjs. But it's concept of modules confuses me.
In one of the angular tutorials, there's the following code:
'use strict';
/* Services */
var phonecatServices = ...
0
votes
1answer
91 views
Controller is not defined
I'm trying to use the Angularjs-UI Modal into my application and I'm a little confused as to what goes where. I have a button for new groups which calls a model, the models controller is in another ...
0
votes
0answers
33 views
Check that an object is instanceof angular
HTML:
<div id="obj"></div>
in jQuery:
var obj = $('#obj');
obj instanceof jQuery;
'true'
So, I assumed that
angular.module('app', []) instanceof angular.module()
to be true..
...
0
votes
0answers
28 views
Declare angular modules dependency on basis of some data from server
I have created two different modules in app.js like:
app.js
angular.module('userModule', []);
angular.module('adminModule', []);
angular.module('mainApp', ["userModule","adminModule"]);
I want ...
0
votes
0answers
33 views
Link to different angularjs app
I have two different AngularJS applications hosted on different servers. I want to be able to have a link in one application to the other. How can I do this? Is it just as simple as adding an href to ...
0
votes
0answers
33 views
Learning Angular Seed Notation
I was following a question (ui bootstrap modal's controller 'is not defined'), which I then tried modifying for nested controllers, different scoping calls, and renaming/refactoring the ...
0
votes
0answers
92 views
Angular Js geolocation module
I am trying to implement geolocation in my angular app and found that with the help of geolocation module i can do it. i i installed this module in my app as described on the git hub. They have given ...
0
votes
0answers
51 views
AngularJS after run module action
Is there a possibility of launching AngularJS function after the application?
Something like function afterRun() ?
This is to ensure that when the application starts to perform some jquery-scripts.