Restangular get clean response object from POST request
You can get the plain element using .plain()
from response
this.Restangular.one("auth").post("login",data).then(function(resp){ console.log(resp.plain()); //Returns the plain element received from the server without //any of the enhanced methods from Restangular. //It's an alias to calling Restangular.stripRestangular(elem) }
You need to use Restangular version 1.4.0