Skip to main content

All Questions

0 votes
0 answers
30 views

Push inside AJAX Success not updating ng-repeat

I have an ng-repeat that loops over $scope.events, and in the success function in ajax, it pushes a json string into the $scope.events array. However, the indexes that are pushed in the success ...
Jay J's user avatar
  • 1
0 votes
1 answer
135 views

ng-repeat not displaying data from http request. getting commented when inspecting [duplicate]

My homeController.js var app = angular.module('myApp'); app.controller('HomeController', function($scope, $http, $rootScope, $stateParams, $state, LoginService) { $scope.user = $rootScope.userName; ...
Shubham Koyal's user avatar
1 vote
1 answer
246 views

Showing dynamic content inside ngRepeat

Struggling to show dynamic content inside a ngRepeat. When it comes time to show my promise content, I'm getting an empty object {}: <div ng-controller="DemoCtrl"> <div class="sidebar" ...
djthoms's user avatar
  • 3,106
0 votes
3 answers
151 views

ng-repeat Return empty rows

I tried with below code, but it is returning an empty row (more than 30+) of the table. json "[{\"COMPANY_ID\":\"1\",\"COMPANY_DESC\":\"11\",\"COMPANY_CURRENCY\":\"1\",\"ACTIVE\":true,\"...
San Ka Ran's user avatar
0 votes
2 answers
42 views

ng-repeat not listing different json values, instead it just displays the entire json file content in single list item

ng-repeat is not listing different json values, instead it just displays the entire json file content in single list item codepen html: <div ng-app="myApp"> <div ng-controller="...
Table Salt's user avatar
1 vote
2 answers
345 views

AngularJS load ng-repeat into another ng-repeat with ajax call

I'm new to angular and would like some help in solving the following issue. This is the code I currently have, simply getting an array of results from the server using a post request and displaying ...
durian's user avatar
  • 520
0 votes
2 answers
1k views

Ng-Repeat not updating until page is refreshed

To give a brief rundown of what I am working on: This app is a phonebook that makes a call to our backend system and returns a JSON payload which is then parsed and stored to Local Storage for ...
Michael Amato's user avatar
0 votes
1 answer
855 views

How use data returned by jquery.ajax in ng-repeat?

Here is my jquery ajax call jQuery.ajax({ url: view_url+"get_messagekinds", success: function (result) { $scope.response = result; }, ...
Sony Khan's user avatar
  • 1,514
1 vote
1 answer
2k views

Angular ng-repeat with Json and $http ajax displays an empty list

I'm trying to display a list of elements by name and id with ng-repeat from a json with a super simple ajax request. var form = $("#loadAllServiceEngineForm"); var url = form.attr("action"); ...
Emanuele's user avatar
  • 814
1 vote
2 answers
874 views

Ajax request with callback into ng-repeat element Angular.js

I am currently learning to code with Angular.js and I am doing a project where I load informations with Ajax queries. To make it short, I have three levels of datas -- Skills (competences) --- ...
Patrice Poliquin's user avatar
0 votes
1 answer
162 views

Angularjs get data filtered in ng-repeat from controller

I have tried everything but I can't get it. What i need is to access data filtered in ng-repeat from controller. Data in ng-repeat is taken from a $http call. $http.get('http://localhost:/test/test....
nanaki's user avatar
  • 117
2 votes
1 answer
266 views

How to perform an ajax lookup within `ng-repeat`

I have an ng-repeat of employees. One of the result fields returned is an employee number e.g. "12345". How can I perform an ajax lookup and replace the employee number with the corresponding name? ...
freeBSD's user avatar
  • 317
0 votes
1 answer
199 views

How to use daterangepicker inside a ng-repeat directive in angularJS

I am new to angularJS, i don't know how to use daterangepicker inside the ng-repeat directive. Please help me regarding this topic. Thanks in advance
Md. Ashfak Khan's user avatar
-1 votes
2 answers
1k views

Angularjs array not updating after AJAX call

I'm still new to Angularjs and still learning it. My issue is that when I define an array and loop through it using "ng-repeat" the items in ng-repeat don't get update after a function runs. Here is ...
emate's user avatar
  • 7
0 votes
2 answers
691 views

How to show "in progress" in angularjs if loading data is taking time

My ng-repeat is taking long time to load so mean while my browser goes in hang state. So how to show user that loading is in progress or some kind of animation in angularjs?
Abhay Pore's user avatar

15 30 50 per page