Simple crud with angularjs and sails