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

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -