Add to FAQ: need access to 'unrestangularized' element
See original GitHub issueFirst of all let me start by saying you have done some great work here. I simply love this library.
However I’ve run into a small problem where I am running the code below:
Restangular.one('element').get().then(function(element) {
$scope.element = element;
});
However $scope.element now contains my element from the server plus a lot of restangular functions and properties.
This is problematic for me because I need to process the element received from my server recursively. Meaning that I need the element to be pure.
Does this functionality already exist? Is there any current way to access the ‘unrestangularized’ version of an object? I would expect something like:
Restangular.one('element').get().then(function(element) {
$scope.element = element.preRestangularizedElem;
});
Thanks
Issue Analytics
- State:
- Created 10 years ago
- Comments:38 (19 by maintainers)
Top Results From Across the Web
简介 | RestAngular
Restangular is an AngularJS service that simplifies common GET, POST, DELETE, and UPDATE requests with a minimum of client code. It's a perfect...
Read more >25 Best Examples Of Effective FAQ Pages
FAQ pages matter. Discover why by learning from these 25 great examples of FAQ resources and find out what makes them effective.
Read more >Adding frequently asked questions (FAQs) directly to an index
You can add frequently asked questions (FAQs) directly to your index using the console or the API. Adding FAQs to an index is...
Read more >How to Add a Frequently Asked Questions - FAQs section in ...
When launching a new product or website, you may need to add a FAQs section in WordPress. You can add a new page...
Read more >Mark Up FAQs with Structured Data | Google Search Central
When you use FAQ structured data, you may help users discover information in a rich result. Learn about FAQ schema markup and see...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Restangular 1.4.0 above versions have method
plain()
for working with plain response data.Iam also waiting for a fix to this issue.