Restangular get in angularjs -
i using function of restangular. , in return object have customers , other functions of restangular these functions of restangular not associated list of customer.
why? there other way?
use .plain() this.
restangular.one('accounts', 1234) .then(function (account) { account.plain(); // object whitout restangular methods });
Comments
Post a Comment