The redux of the Photogur Rails App built with AngularJS