Fix scope in user model
Remove angular.js