Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
28k views

I'm trying to do a http request inside Angular.js factory. Initially I had used Fetch API and the console didn't show any error. I implemented it using $http along with $q and now it shows errors on ...
cmgchess's user avatar
  • 10.4k
0 votes
1 answer
53 views

I wish to send a particular data in all the $http calls. Can i define it somewhere so that i need not alter all the $http calls. For example, $http({ method: 'POST', url: serviceUrl, ...
Mithun raj's user avatar
0 votes
0 answers
344 views

I'm able to display results and search for data from spreadsheet which has only one sheet. Using od6 as JSON URL : var url = "https://spreadsheets.google.com/feeds/list/...
Tejo Sai Kumar EEPU's user avatar
1 vote
2 answers
660 views

JsonResult method not calling through $http call, I am working on a project that uses ASP.NET MVC, AngularJS I am calling a mvc controller from AngularJS. I am getting an jsonresult as in the call ...
hashim's user avatar
  • 135
0 votes
0 answers
331 views

Want to send image data through ajax to the controller .But error 415 gets .I am using angular js and send images to the controller . But error ocurs . Please help fd= new FormData(); ...
Tridib Chandra's user avatar
0 votes
1 answer
47 views

I've developed a ASP.NET WEB API Angularjs application and after i published it in IIS server it was throwing Unexpected identifier error at URL of below code. function getAllWeeks() { var ...
user11130182's user avatar
0 votes
3 answers
129 views

I have written a custom angular service that returns the session id after making a post-call to the WCF service. I can see on the chrome's network tab that the call has returned the session-id but ...
Dex's user avatar
  • 79
-1 votes
1 answer
93 views

I am trying use the promise chaining for the $http.get calls I am making from my angular application $http.get(url, config) .then(newViewRequest) .then(function (response) { // success async ...
trx's user avatar
  • 2,187
0 votes
2 answers
221 views

I am trying to call a endpoint using $http.get and check if the succsess code is 200 then use the response data otherwise I need to call other endpoint. I tried to check if the call is success or ...
trx's user avatar
  • 2,187
0 votes
1 answer
245 views

I have an AngularJS directive that calls data from an api using $http (ng.IHttpService) with no problems. I have the 'click' event bound to a function and want to call a POST request on the same api ...
Alastair Gordon's user avatar
0 votes
2 answers
422 views

I can't access the output variable from my 1st http get request, i need this data for another http Post request. None. $scope.submit = function(x) { $http({ method: "GET", url: url + '...
aintno12u's user avatar
  • 421
0 votes
0 answers
157 views

I'm trying change https://akveo.github.io/blur-admin/ project. Its controllers are all in js format and I can't migrate them to typescript. So now I can't import any libraries to my controllers (I ...
A.Risheh's user avatar
0 votes
1 answer
40 views

AngularJS ng-repeat not changing when array changes I have a controller: <section data-ng-controller="FilmController"> <article data-ng-view></article> </section&...
Adam Cole's user avatar
  • 173
0 votes
3 answers
571 views

How to pass global variable value from one function to another function in angular? I have 2 global variables as: $scope.genewtId = null; $scope.data1 = null; I have 2 angular functions which look as ...
meallhour's user avatar
  • 15.9k
0 votes
0 answers
331 views

I have problem with error in angularjs: Error: [$http:baddata] Data must be a valid JSON object. Received: 'test string test string' Parse error: "{}" So if I understand it correctly, the response ...
emka26's user avatar
  • 463

15 30 50 per page
1
2 3 4 5
29