ngResource and $rest - works