The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
14 views

How to check for the existence of a module without an error being raised?

In Angular 1.2, ngRoute is a separate module so you can use other community routers like ui.router instead. I'm writing an open-source module that aims to work for multiple different router ...
0
votes
0answers
24 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.
1
vote
3answers
111 views

how to manage big angular app

I'm having trouble managing my app. I would like to separate my controllers on several files. I read Brian's Ford blog ( http://briantford.com/blog/huuuuuge-angular-apps.html ) but I cannot quite ...
0
votes
1answer
48 views

Angular custom module - “object function(){…} foo has no method 'bar'”

I'm trying to create a custom wrapper for $http in angular. Here's the code outline: angular.module('jotted_resource', ['ng']) .factory('jotted_resource', ['$http', 'communicationStatus', ...
0
votes
2answers
72 views

is there a way in Angularjs to define constants with other constants?

I'm trying to define constants with other constants, but it seems that it can't be done, because the initial constant isn't ready when the required constant depending require it. I want to be sure if ...
0
votes
1answer
24 views

Configuring AngularJS modules - how does it affect the other modules in the app?

I have two Angular modules, A and B. A has no deps, some configurations and some filters: angular.module('A', []) .config(function ($httpProvider) { // set common headers for $http requests ...
0
votes
3answers
132 views

How do you change the ng-model attribute of an element (and have it work)?

I have an input with an ng-model attribute set to "search.name" HTML Search: <span id="searchName"> titles </span> | <span id="searchSpecies"> species </span>: <input ...
6
votes
1answer
131 views

How to use two AngularJS services with same name from different modules?

Supposed I have two modules for AngularJS, e.g. foo and bar, and both of them define a service called baz. In my application I depend on them by saying: var app = angular.module('app', [ 'foo', ...
0
votes
1answer
74 views

AngularJS - Unknown Provider

I'm trying to create a small note-taking application using AngularJS, but I stumbled at the very beginning. Here's my .js file: var app = angular.module("app", ['ngResource']); app.factory("note", ...
0
votes
2answers
210 views

Why is my javascript file not loading?

I'm new to both JavaScript & AngularJS. I'm building an app which talks to a building management system: it has a module called 'JaceMod' containing a service to contact the BMS and retrieve data ...
1
vote
1answer
77 views

Angular Module Private Members

In AngularJS, is it possible to create private controllers or services which can be used within the module they are defined in, but not by another module they are injected into. For example, can ...
1
vote
1answer
346 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 ...
4
votes
1answer
264 views

Module not found in angularjs

I want to wrap this https://gist.github.com/nblumoe/3052052 in a module. I just changed the code from TokenHandler to UserHandler, because on every api request I want to send the user ID. However I ...