Example of communication between spring mvc and angular.js