This is my controller code
This my service code
I’m getting error in browser console
http://s218.photobucket.com/user/curseofgoldendragon/media/error-js_zpswfmrm6dz.png.html
Here I have made two http calls in service code. Output from first http call is the input to second http call.
Is there any issue with service code ?
What changes I need to do in my code to fix this error?