transferred angular to rails code and working
Merge pull request #1 from canes6288/angular_to_rails

transferred angular to rails code