My version of a angular application back ended by a rails application