it cannot work like so
`api.desks.save(_desk, $scope.editDesk)` will trigger error that cannot read `_id` of `undefined` (_desk), and its comming from http-endpoint-factory save method. Also how can make difference which kind of save is done, becasue in one case I should update value, and in another insert desk in collection?