AngularJs and Grape(ruby). Web app