Building Worklight application with AngularJS