Questions tagged as 'ng-repeat'

5
answers

Print a label i for each ng-repeat of a Json

Having the following structure, HOW DO I do it to print the amount of stars that each car has? that is. IF in the json it says "stars": "3" would have to print 3 labels The expected result is to print 3; The first with 3 inside. The second wi...
asked by 30.01.2017 / 15:32
2
answers

How to show dates with a format in uicalendar?

Hi, I've set up an angular calendar, it's a news programmer where people record what time they would be available or not at what time. How can I show the date in the calendar in "1 mar 2017 12:00" format? I know that with ng-repeat...
asked by 27.03.2017 / 16:17
1
answer

Problem with angular ng-repeat directive

I have a problem with Angular's ng-repeat directive, I'm creating a banner component that works as follows: when you click on add image, that image is converted to base64 and the new image is added to an array and it is with this array that the...
asked by 05.09.2017 / 18:43
2
answers

ng-repeat for array of images

I have a function that calls the element 'categories' of the BD. This 'Categories' table has a field called 'gallery' which is an array of images. I want to do a ng-repeat that shows me the images of this field. the code that I have, but that do...
asked by 31.07.2017 / 21:46
3
answers

Problems with angulargs ng-repeat

In my html I show dynamically information brought from a web services and I show them with ng-repeat as follows: to this I want to add this numerical check to add and subtract amount but I can not find the way to associa...
asked by 17.01.2017 / 15:44
2
answers

Alternating ngRepeat results in AngularJS

I have a blog whose content is completed through an AngularJS driver that brings the data from a base. On the other hand, I have an object that contains a list of advertisements that are displayed in image format. The drawback is when I in...
asked by 09.04.2017 / 20:28
1
answer

Error ng-repeat Angularjs

I have the following json object $scope.datos = { "status":200, "data":{ "username":"username1", "nombre": "Diego", "apellido": "Moreno Leon", "telefono": "999999", "celular": "000009901661",...
asked by 09.05.2017 / 18:57
1
answer

How to auto-filter with ng-repeat?

I'm trying to do a self-filtering but when I set the values, it takes them but does not filter the data the code I use is the following .. the filter is here - > <input type="text" id="{{item.descripcion}}" ng-model="searchinput" styl...
asked by 28.07.2018 / 00:17
1
answer

image slider with angularjs, ng-repeat and asynchronous requests

I am new at angular js, and I have had a problem when trying to create an image slider. The following happens to me: When I have an array "defined and initialized" by default, the effect of the slider works fine, but when I want to initialize it...
asked by 03.03.2018 / 01:11
1
answer

Open a modal automatically with angle in ng-repat

I have the following repetition: <div ng-repeat="post in posts" class="modal fade modal-custom " id="myModal[[post.id_post]]" tabindex="-1" role="dialog" aria-labelledby="myModalLabel[[post.id_post]]" aria-hidden="true"> ... </div>...
asked by 30.11.2017 / 22:38