set up angular.js for the profile page