Skip to main content

All Questions

Tagged with
1 vote
2 answers
539 views

How to pass method get/post as a function parameter?

There are two almost the same functions. First function executes get(). function sendGet(url, $http) { $http .get(url) .then(function() { alert('Ok'); }, ...
John Friday's user avatar
0 votes
2 answers
118 views

AngularJS doesn't display json object in html after $http.get request

I'm trying to make a get request and display the json data. Here is the html div tag where the data should be displayed: <div ng-app="app" ng-controller="searchController"> ...
yontu's user avatar
  • 37
0 votes
0 answers
41 views

Ending an AngularJS connection

How on earth do I do that with AngularJS? I'm using this code to generate a client side table with a search bar. ASP.NET MVC is the server here. app.controller('GenTable', ['$http' ,'$scope', '$...
user199135's user avatar
0 votes
0 answers
61 views

Remove get parameters from URL in JS

I've got a support ticket system that sends out emails with specific links to the tickets. Here's an example link: "taptap.com/tt_dev/taptapeat/?iTicket_ID=11#/app/controller/ticket This ...
Brennan VanDyke's user avatar
0 votes
1 answer
21 views

AngularJS ng-click attribute not updating on post request within ng-repeat

This is the pug file for the catalog doctype html html head title Tradecademy meta(name="viewport", content="width=device-width, initial-scale=1") script(src="https://ajax....
George Ryan's user avatar
0 votes
1 answer
506 views

how to print the JSON-RPC output which is in JSON format in a html-table format

Basically, I have a setup which has a client and a server. The client side is implemented in angularjs which sends the get request to the server, which is in python, that connects to mongoDB and ...
Praveen's user avatar
0 votes
1 answer
66 views

How to send array as search query parameter in Angularjs?

I am building ecommerce platform and implementing advanced search functionality. Here user can select multiple company and multiple group name for product search so that he can find certain multiple ...
abhaya's user avatar
  • 31
0 votes
1 answer
517 views

Using a POST request to obtain a authorization token and then using POST response in a GET request

Requested a spotify access code by using the POST method. Assigned a variable to the response. Then, tried to access the token with a GET method directly following. { angular.module('app')...
Nelly's user avatar
  • 1
0 votes
1 answer
44 views

GET Method Is Not Calling In IE

I am new to AngularJs & Spring. I am calling Spring MVC GET Method from AngularJs function. Sometime GET method is not called up and giving old session values. If i use POST its working fine. ...
deadend's user avatar
  • 1,376
0 votes
1 answer
60 views

Capture the return of a method inside another method using AngularJS and $httprequest

I would like to have a question that must be simple. I need to capture the value of a variable to pass as a parameter (required) in order to consume an API. This variable is the return of a method ...
Codeman's user avatar
0 votes
1 answer
82 views

Angular Promise Conditional

My Angular v1.x directive calls a function when a button is clicked and depending on the input I set some variables: $scope.offerRespond = function() { if (offer.i.offerResponse == 1) { ...
Alan A's user avatar
  • 2,551
0 votes
1 answer
29 views

AngularJS - Share return values between promises

I'm making a get request to my server, I get the response and I store the value inside a $scope.productId userService.get(true) .then(function(res) { $scope.productId = res.user.productid;...
Hugo Seleiro's user avatar
  • 2,627
0 votes
1 answer
160 views

How to send Angular $http GET data to GitHUB API [duplicate]

I am successfully pulling back all issues on a given repo from GitHub, however, now I'm trying to utilize the 'since' parameter discussed in the link below to restrict the results and am having a very ...
gunslingor's user avatar
  • 1,408
0 votes
2 answers
3k views

How to send a body request with GET

I'm working with angularjs, and from my service I have to make a call to the server using a path parameter (id), query params (var1 and var2) and a body request ({"codes": ["1000"]}) - which has to be ...
DragosB's user avatar
  • 119
0 votes
1 answer
450 views

Angular.js Call $http.get every second

How can I call $http.get every second to update my page? var app = angular.module("CompanionApp", []); app.controller('LoginController', function ($scope, $http) { $scope.LoginSubmit = function(...
Vincenzo's user avatar

15 30 50 per page
1
2 3 4 5
23