Practice with AngularJS and Rails