spring and angularjs Application