Get User data from Rails server in Angular Controller