rails 3.2.13/ruby 1.9.3 /angular js