AngularJS login to Grails portal

I have a Grails web application that is using the Spring Security Core plugin to manage authentication. I would like to make an AngularJS application authenticate using credentials that exist in the Grails web application.

 

http://asoftwareguy.com/2014/03/17/using-grails-rest-for-authentication-in-an-angularjs-spa/