Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
2 answers
1k views

AngularJS - Can we remove/delete module?

I'm trying to clear memory of previous module of my app which Im not going to use after I've routed to a different location. So for example my "WebApp" is my main angular module of my app which has ...
Temp O'rary's user avatar
  • 5,898
0 votes
1 answer
78 views

google angular module don't work

I add this to my proyect: https://angular-ui.github.io/angular-google-maps/#!/ i follow the suggestion and add this files to my proyect mvc in the BundleConfig (Downloaded by Nuget): bundles....
Marco Nu?ez's user avatar
9 votes
3 answers
5k views

Meaning of the empty array in angularJS module declaration

In my previous question, I understand that the code var app = angular.module('myApp', []); connects the module app to the view myApp. I would like to know why we are having the empty array [] in the ...
jsh6303's user avatar
  • 2,040
6 votes
2 answers
1k views

AngularJs Lazy Loadng without RequireJS

In a large scale application, How do we lazy load modules, controllers, services whenever needed without loading those in the index.html. Here I'm referring to load the entire js in the relevant ...
kds's user avatar
  • 28.8k
1 vote
1 answer
129 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 = ...
simonzack's user avatar
  • 21.1k