Tagged Questions
6
votes
3answers
378 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 ...
1
vote
1answer
60 views
Dirty checking with shared service between controllers, One way works the other does not?
While attempting to answer a question regarding sharing data between two separate controllers I ran into a question .
I usually use services for for this task and began to create a jsfiddle, but I ...
4
votes
2answers
1k views
AngularJS - The correct way of binding to a service properties
I’m looking for the best practice of how to bind to a service property in AngularJS.
I have worked through multiple examples to understand how to bind to properties in a service that is created using ...
0
votes
2answers
414 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
111 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
76 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 ...