The angularjs-module tag has no wiki summary.
2
votes
1answer
13 views
Creating virtual keyboard as a AngularJs module?
I have a AngularJs app and I need to create a virtual keyboard. The keyboard should be a separate module. My problem is that I am not sure how to properly structure my module? Should it be implemented ...
2
votes
1answer
387 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
13 views
Why must a provider be defined before a config block
I have a module. It has a config block, a provider, and a constant defined. The config block references both the constant and the provider. I notice that my constant can be defined before or after ...
1
vote
1answer
22 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
14 views
Adding global options to an Angular directive/module
I'm looking to include global options for an Angular directive.
I could use a .constant() (or simply an object of configs) in my module file, but since the module is designed for other people to ...
0
votes
1answer
161 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
62 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
70 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 ...
1
vote
0answers
41 views
Translate in angular.module.run()
I try to get the translated text with the key "TEST_KEY" in the .run (app.js). Except that the value is always my key. Therefore the value "$ rootScope.test = home.TEST_KEY".
Here is my code:
...
0
votes
0answers
26 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
75 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
50 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.