move towards angular.js