Liferay portlet using Scalatra and AngularJS