How to resolve an angularjs promise before you return it?

Posted by Jennifer | Updated on

Want to resolve an angularjs promise before you return it? Yes, you can resolve an AngularJS promise before you return it, and it will behave as you’d expect.

Inside the service…

Inside the controller….


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers