rails 4 angular crud app with postgres