Template application for Spring MVC and AngularJS