4
votes
3answers
266 views

angular js - configuration for different enviroments

how do you manage configuration variables/constant for different enviroments? This could be an example: my rest api it's reachable on localhost:7080/myapi/, but my friend that works on the same ...
0
votes
2answers
383 views

Sharing data between AngularJS services

Is there a way to share data between services in AngularJS? Use case: data aggregation from different services For example I want a service1 that loads some data from a REST Service. Then another ...
1
vote
1answer
107 views

AngularJS - AlertFactory open dialog behavior

i'm creating an AlertFactory because ui.bootstrap.dialog doesn't works in my app. So i type follow code: http://jsfiddle.net/Premier/BHqKB/17/ enter code here It works very well if you click on ...
0
votes
3answers
68 views

$watch not working on variable from other controller?

I have one controller which displays a checklist, and stores the selection in an array. My other controller runs an $http.get on the array from the first controller. How do I set a $watch so that ...