Hi Howard!

Try using the $http 
<https://code.angularjs.org/1.4.7/docs/api/ng/service/$http> service to 
make the HTTP request to your *backend*.
For me, the best practice is to create an angular service 
<https://code.angularjs.org/1.4.7/docs/guide/services> that has a method 
that uses the $http service and that makes the request and inject that 
created service into your controller.

I hope this helps you.

Regards,
*Luís Loureiro*

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to