I am using Restangular to make backend calls and everything works fine as long as URL gives me data like below:  If I hit http://mysite/responses/ the responses look like   [     {"fname":"some guy",      "lname":"some nam...
I'm using rectangular and have something like this:  stuffResource = parentResource           .one(resources.category, $scope.stuff.category)           .one(resources.stuff, $scope.stuff.id)           .put($scope.stuff);   Now, when the request i...
I'm upgrading an AngularJS solution to Angular 4 and I need to upgrade the 'restangular' library to use ngx-restangular instead, because I have an existing AngularJS service that uses restangular, and I need to convert it to Angular 4. I&...
i've been trying to work with Restangular, but there are some issues i'm running into.  i'm not sure if its the implementation of Restangular, or my lack of understanding, but i can't seem to delete anything from a returned getList on...
I'm getting this error: Uncaught ReferenceError: _ is not defined from restangular when trying to use Restangular.  HTML  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script> <script...
Is MongoDB capable of funding number of random documents without making multiple queries?  e.g. I implemented on the JS side after loading all the document in the collection, which is wasteful - hence just wanted to check if this can be done better w...
I like all of the functions of Restangular for AngularJS, except that I can't find (and it may not support) a way of just passing a full URL to it. I realize the benefit of the .one('something','someparam') but my issue is that I&...
My POST and PUT return the current state of entity as seen on the server. How can I tell Restangular to update its model object after the server call?  Just in case - why? Because during save/update the server may have calculated some fields. Because...
I'm coming from Backbone so perhaps my perspective is prejudiced by that but I'm having trouble seeing the best way to model data in Angular. The 2-way data-bind is pretty awesome but past that when I want to have persistent collection and mo...
I am using Restangular in my AngularJS app. I have a table with a delete link for each item. I would like to delete the item and have the row automatically removed. But as things are it only deletes from DB. How can I refactor things so that it the D...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.