ServerSide parsing and binding of Angular style templates in Java