Rails 4 with angularjs