ActiveResource for Angular.js