Tagged Questions
3
votes
0answers
186 views
AngularJS Outer ng-repeat not to register watches on inner ng-repeat
This is in relation with my question - Angular JS consumes more browser memory
My problem here is I need nested ng-repeats and the nested ng-repeats consumes more memory because of more watches being ...
1
vote
1answer
102 views
AngularJS : Appending the same structure on the click of each item
My index.html page is like following:
<div id="sidepanel" ng-controller="myCtrl">
<ul class="drop-down">
<li ng-repeat="item in items">
<a ...
0
votes
1answer
542 views
Angular.js filters and functions on scope that is changing every second
The problem. I have a table of entries($scope.entries), each row(ng-repeat) with 5 columns, 2 of those columns have custom made filter for various transformations.
Now in the same scope I have ...
6
votes
2answers
3k views
Directive isolate scope with ng-repeat scope
I have a directive with an isolate-scope (so that I can reuse the directive in other places), and when I use this directive with an ng-repeat, it fails to work.
I have read all the documentation and ...
4
votes
3answers
589 views
How to delay ngAnimate in ngRepeat
When using ngAnimate to fade in each item in ngRepeat, currently all items fade in at the same time. Is it possible for each item to fade in after the previous item has faded to e.g. 50% resulting in ...
1
vote
1answer
369 views
Angular.js custom iterations/data transformations and grouping… when simple ng-repeat just won't cut it
Still this problem Angular.js more complex conditional loops but I felt that the answer to the question as it was asked was right so I accepted it.
So let me elaborate more than I did in the original ...
1
vote
2answers
451 views
Angular JS Fails After Upgrade from 1.1.0 to 1.1.1
When I upgrade the the ng-repeat takes extraordinarily long to load and tries to display MORE content boxes without the content that is being served by $resource.
I have narrowed the problem down to ...
1
vote
1answer
2k views
Angular ng-repeat inside directive
I'm trying to build a directive that runs after a nested ng-repeat has completed rendering. Here's what I've tried (fiddle):
The HTML:
<div ng-app="MyApp" ng-controller="MyCtrl">
<ul ...
2
votes
1answer
133 views
AngularJS set initial active class
I'm using Bootstrap tabs with an Angular ng-repeat.
The problem I'm running into is that the first li and the first div.tab-pane each need an active class. Bootstrap takes care of that after a tab is ...
1
vote
1answer
1k views
AngularJS: ng-repeat with key value - updating object
I am rendering key:value object array with ng-repeat like this:
<div ng-controller="mainCtrl">
<div ng-repeat="record in records">
<div ng-repeat="(key, value) in record">
...
0
votes
1answer
52 views
Binding ajax data to ng-include with recursive call to load template
Sorry if the title is quite cryptic, I'm trying to replicate this example: http://plnkr.co/edit/NBDgqKOy2qVMQeykQqTY?p=preview and it works fine, but if I load data via ajax it doesn't work.
The ...
0
votes
2answers
273 views
Angular.js more complex conditional loops
The goal is to create this
<h3>11.4.2013</h3>
<ul>
<li>entry 1</li>
<li>entry 2</li>
<li>entry 3</li>
</ul>
...
0
votes
2answers
4k views
ng-repeat list in Angular is not updated when a model element is spliced from the model array
Hi everybody, I have two controllers and share data between them with an app.factory function.
The first controller adds a widget in the model array (pluginsDisplayed) when a link is clicked. The ...
4
votes
2answers
1k views
Angular.js ng-repeat across multiple elements
This question has been partly addressed here: Angular.js ng-repeat across multiple trs
However that is just a work-around really, it doesn't actually address the core issue, which is: how can one use ...
3
votes
3answers
1k views
Nested ng-repeat
I'm somewhat new to angular, and i'm having problems with my json and ng-repeats. I have a list of "modules" and then lists of "weeks" within them:
{
"modules":
{
"module1":
...