Tagged Questions
0
votes
1answer
36 views
AngularJS controller scope won't sync with promise
I've picked up a project and I'm trying to return some data from a service to my controller. I've been at this for about 12 hours, and have tried different methods. They all usually result in this ...
2
votes
1answer
39 views
How can we test non-scope angular controller methods?
We have few methods in Angular Controller, which are not on the scope variable.
Is anyone know, how can we execute or call those methods inside jasmine test?
Here is main code.
var testController ...
6
votes
0answers
2k views
Getting AngularJS Error: “[$rootScope:inprog] $digest already in progress” without a manual $apply
Other posts on this error always include someone trying to $apply without using a safe apply, but that's not the case in my example. My function IS successfully returning the data I requested from the ...