simple demo of angularjs code migrate to grails