AngularJS Rails example using coffeescript