Questions tagged as 'ng-repeat'

2
answers

How to make a ngRepeat without a parent element?

I'm using Angle with Admin LTE. I need to make a ng-repeat where li within ul will repeat. I can not repeat ul , but only li within that ul . Also I can not enclose these li with a parent element to...
asked by 31.08.2016 / 20:06
2
answers

How do I use a dynamic information coming from ng-repeat {{}} and use it as an argument to an ng-click (button) function?

I have a ng-click function: ng-click = "adicionar(0);" This function ng-click is inside the ng-repeat = "mercadoria in listademercadoria" loop. Is there a way to pass information according to repeat where it is contained...
asked by 22.09.2017 / 20:55
1
answer

JSAngular Multiple ng-repeat

I'm having a hard time creating a loop with ng-repeat , no angle. Next ... I wanted to create tags for every projeto I add, eg: Seethatyoucanaddmoretagsandthereisalsoatextattheendthataddsanewproject,calledAddProjeto,tothec...
asked by 17.03.2015 / 19:47
2
answers

How do I make / disappear a button only from one of the ng-repeat loops? (Programming in AngularJS)

My angle code has ng-repeat as follows: AngularJS: angular.module('meumodulo', []) .controller('mercadoria', function($rootScope, $http) { var ctrl = this; $rootScope.listademercadoria = []; $rootScope.mercador...
asked by 23.09.2017 / 04:54
1
answer

Angular FilterJS with Array of Arguments

I would like to check a way to add filters to a records table (ng-repeat) through an array and not just a text. link Note: I'm using $ filter to filter data in ng-repeat and not filters like uppercase for example. The followin...
asked by 05.11.2016 / 00:59
1
answer

ng-repeat angular

I'm developing an application with a GRID and I needed to format the dates coming to this GRID using data filter of Angular. But I'm not able to print the date array inside the <div> tag, if I put it to start with a <...
asked by 01.03.2017 / 00:09
0
answers

Access the previous item in a dir-paginate [closed]

I need to always access the previous item and make a comparison for the display of a tr > <tbody dir-paginate="nota in notas[0]|orderBy:sortKey:reverse|itemsPerPage:15"> <tr ng-if=""> // Essa é a <tr>...
asked by 04.07.2018 / 17:33
2
answers

NG-REPEAT within NG-REPEAT - ANGULARJS

I have a multidimensional array. To demonstrate it in my view I use a ng-repeat in an ul within another ng-repeat in a li, this way: <ul ng-repeat="section in sections"> <li> {{section.name}} </li> <ul>...
asked by 03.11.2017 / 20:17
0
answers

ng-repeat in JSON file

I'm setting up a menu with ng-repeat="espaco in espacos" . So peaceful. <ul class="nav nav-pills nav-stacked"> <li role="presentation" ng-repeat="espaco in espacos"><a href="" ng-click="selected(espaco)">{{espaco.no...
asked by 01.08.2015 / 14:36
1
answer

Replicate information through the columns of the JS Angular table

I have a table where I need to duplicate the table columns when the ID change in the received array. The array consists of result=[{"id":"1","Dia":"250.0","inicial":"1050.0","final":"1050.0","DIAS":"800.0"}, {"id":"1","Dia":"250.0","inicia...
asked by 27.10.2015 / 13:47