Railscast #405 AngularJS:
I noticed I was running into issues related to the tutorial being slightly dated as it was written on Rails 3.2
After searching around I finally found a complete solution through reading the comments on the Railcast, even if you are not pro you can still read through the comments. Can provide helpful information for dated railscasts
Anyways, someone posted a Rails 4 version of the completed code, when you start running into problems look at the updated version of the file you are editing
Here is the link to the repo containing the updated code: