Like $("button.btn-primary").click(function(e){ ... });
This article explores Angular $resource, which provides an out of the box solution for working with RESTful APIs.
templates/main.html
"Use Font Awesome on Yeoman AngularJS Projects"