In controllerA I am writing a promise to get executed and have the app move to the next view. However, the app is not dependent on the promise response in order to move to the next view. When the app moves onto the next controller, will the results of the promise still be processed from controllerA?
Example in controllerA:
doService.all().then(function(response) {
// process response
// could take 3 or 4 seconds to get results
}, function(error) {
// process error
}) ;
$state.go("tab.map") ;
//move to new controller regardless of doService response or completion.
//but will doService promise still get processed?