Questions tagged [angularjs-ng-repeat]
The `ngRepeat` directive instantiates a template once per item from a collection. Each template instance gets its own scope, where the given loop variable is set to the current collection item, and `$index` is set to the item index or key.
angularjs-ng-repeat
9,068
questions
0
votes
0
answers
7
views
AngularJS ng-repeat overwrites table results on collapse / expand panels
Ng-repeat is overwriting the results of each row on every click, so I click the panel and I get first table correct:
Id
Scenario
1
User login
2
User Incorrect login
Then, when I click to expand ...
0
votes
0
answers
35
views
AngularJS (1.5.0) nested ng-repeat with radio button not initializing checked properly
I use a dynamic name attribute technique.
I'm using AngularJS verison 1.5.0.
When I run this AngularJS example (code below), which has nested ng-repeats (so I use $index and $parent.$index), I expect ...
0
votes
2
answers
45
views
Javascript do-while loop condition causing error
I am running an older version of Ionic v1 which is no longer supported. It appears I have discovered a bug that is not covered anywhere. The only two mentions of it are 1) related to collection-...
0
votes
0
answers
39
views
ng-repeat going into infinite loop on array of objects
I have an HTML block that is accessing values using ng-repeat in an object array 'items' of type:
[{
method: 0,
text: 'text1'
},
{
method: 1,
text: 'text2'
},
{
method: 3,
text:...
0
votes
0
answers
10
views
angularjs understanding ng-repeat behavior in Modal
I am confused and need assistance understanding how ng-repeat works in a modal. I have combed through multiple other threads and posts seemingly related to my question but none of them have helped me ...
0
votes
1
answer
23
views
How to have multiple rows in a ng-repeat
I have an AngularJS app.
I have a page where I am displaying a table of information for the user to edit.
However, there are too many columns going across the page. I would like to move 1 or more ...
1
vote
0
answers
77
views
How I suppose to break 10 k records in ng-repeat in HTML table?
I want to show records of 10k in an HTML table using ng-repeat, but when ng-repeat runs, it crashes the browser every time. I need solutions so I can fix it.
I am looking for a solution so I can fix ...
0
votes
1
answer
45
views
different image url each profile (ng-repeat)(ng-src)
I want a different image url each person profile everytime they’re profile details appeared.
But what happen is it’s only targeted the last url on $scope.imgSrc so they have all same pics which is I ...
0
votes
1
answer
52
views
AngularJS : table rowspan dynamic
I would like to know how can I display a table with ng-repeat from AngularJS like this:
4 columns after a row with a colspan of 4 and so on.
My code angular return database from data html
<table&...
-1
votes
1
answer
18
views
how to filter table data using angularJS filter from a selection value
I have a table with a column of Status, and I want to filter the table base on their status and I have put on the selection element to do so. here is my code below for the selection
<select class=&...
3
votes
1
answer
122
views
why is ng-repeat not working in custom directive?
I am new to AngularJS and I cannot get ng-repeat to work when embedded in a directive as follows
<settings-widget>
<ul class="ul-border">
<li class="box" ng-...
0
votes
2
answers
167
views
ng-if or ng-repeat in angularjs remove web-components from DOM
I have 14.2 angular and I need to reuse components from angular in the legacy project in angular js (1.8.3) using web components.
I have two examples:
https://stackblitz.com/edit/angularjs-with-...
1
vote
0
answers
73
views
ng-isolate-scope in each child directive along with ng-repeat in AngularJS
The HTML template contains the nested directives. The child directive will create the element or fields based on the data injected to it. So field can be type of dropdown, input field etc. I suspect ...
0
votes
1
answer
68
views
show more in AngularJS dropdown
I have a select Dropdown created using AngularJS. We have set a limit to show the top 5 items and the remaining 5 items should be visible to the user . when he clicks the 5th item with the name "...
2
votes
0
answers
188
views
Rendering AngularJS code inside React component
Is it possible to render AngularJS component inside React component which is rendered from an AngularJS component.
I have a specific scenario where:
<angularjs-component-1>
<react-...