Rails Flashing in AngularJS