All Questions
Tagged with angularjs-http angularjs-directive
9 questions
0
votes
1
answer
238
views
AngularJS - Directive - onClick function calling $http(POST) - $http is undefined?
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 ...
1
vote
3
answers
2k
views
In AngularJS, my directive can't access $scope properties of the parent controler defined in $http
I'm creating a custom directive that inherits the scope of the parent controller. For the most part, I can access the directive's "scope" object that I set in the controller's "$scope" except for ...
1
vote
1
answer
575
views
Custom infinite scrolling trigger many times
I am new to angular was used to work with jquery.
I set a directive which listen scrolling to trigger an http.get request when the user is almost on the bottom of the document. Everything works fine ...
1
vote
1
answer
870
views
directive with inline tpl containing ng-include
I have a directive with inline template containing a ng-include directive element.
When karma testing my directive and logging the result of compiled element . the tesult contains a ng comment ...
0
votes
1
answer
41
views
Is $http.jsonp is blocking call.?
As mentioned in the title I am using $http.jsonp in my application for client to server communication, when my application bootstraps it sends the request to server using $http.jsonp I am able to see ...
0
votes
1
answer
129
views
Working with APIs in AngularJS
I'm trying to create a layout that displays 'channel' data for multiple 'users'. The API I'm using requires one to query first to get a list of username and then another query for each user to get the ...
1
vote
3
answers
472
views
Angular http json request issue
Hello I have a simple question but I'm running into problems. I edited some code that I found on line. I'm trying to utilize an Angular http service to retrieve JSON data but it doesn't seem to be ...
3
votes
2
answers
5k
views
Angular UI Bootstrap modal dialog in $http interceptor hangs the browser
I'm trying to implement lazy authorization which will bring in the login dialog only when user triggers call to API requiring authentication. I'm using bootstrap ui.bootstrap.modal (and ui.bootstrap....
1
vote
0
answers
381
views
Manipulate DOM after Angular has retrieved content via $http and added it to a partial view template
I looked at various similar questions such as this one, this one, this one, this one, and this one that failed to provide a solution to my problem before hitting on a solution myself. However, it ...