Angular.js application created using dropwizard, spring data and mongodb