Spring 3.2 template for single-page application