Sample app with angular.js