Questions tagged [angularjs-module]

The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism.

From Angularjs documentation:

The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism.

187 questions
0
votes
0 answers

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.
J Sorel
  • 343
  • 2
  • 18
0
votes
3 answers

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 understand how should I do it. On my controller.js…
0
votes
1 answer

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', function($http, cs) { function…
Kuba Orlik
  • 3,360
  • 6
  • 34
  • 49
-1
votes
1 answer

How to integrate two angular js modules from two different servers?

We want to develop a angular js module for our application and want to integrate in other angular js app. These apps renders from two different servers. I have read about angular js multple modules and bootstraping them manually. But in those…
-1
votes
1 answer

AngularJS: Can I attach a callback to a module's run method?

High-Level Problem: I'd like to know if the current user is logged into Google Plus. Partial Solution: Specify a callback method to the onload parameter. po.src =…
Jim G.
  • 15,141
  • 22
  • 103
  • 166
-1
votes
1 answer

How my angular module is using service which i haven't defined as dependency?

I have defined my angular modules as below: var myApp = angular.module('myApp', [ 'ngRoute', 'facebook', 'myApp.services', 'myApp.directives', 'myApp.controllers' ]); angular.module('myApp.services',…
Manish Kumar
  • 1,131
  • 15
  • 28
-2
votes
2 answers

Angularjs Routing Parameter passing to controller

Below code is not working for parameter passing
  • {{langResources.EditReservation}}
  • when click this link…
    1 2 3
    12
    13