rails 3.2.13, angularjs