0
votes
0answers
7 views

Getting Unique Firebase key ID Angular ng-repeat

I want to get name of this -JTmc5IS2RYNwLbogtrgr key and every single one, so I could navigate thru objects in ng-repeat. ng-repeat = "cat in Cats" {{cat.name()}} And I want this ...
0
votes
0answers
8 views

Angular.JS: Can't use virtual keyboard

I want to use a fixed virtual keyboard and update input fields within ng-repeat but i can't work. The input text are not updated while some input fields outside of ng-repeat are working ...
1
vote
2answers
19 views

AngularJS get $pristine state of an individual field

I have a form in Angular which contains rows of fields, where each row is an ng-repeat block: <form name="myForm><table> <tr class="item-row" ng-repeat="item in items"> <td> ...
0
votes
0answers
29 views

ng-repeat & orderBy about complex JSON file

Yo everyone ! I've got a little prob to "orderBy" my table. So, my .json file : var data = { "datas": [ { "value1":"value", "value2":2, "value3": [ { ...
-1
votes
0answers
11 views

Angular JS - table (calendar) - very slow rendering [on hold]

I have problem with Angular JS - my view is rendering very slow. APP This is party calendar in a few cities - so we have ~3000 cells (365 * number of cities). Every single cell can be edited. Data ...
-1
votes
0answers
14 views

How to loop in html angular JS

I want to know the way to loop with ng-repeat. For example: <div ng-repeat="item in result.loc[0].local"> <h3 ng-if="item.meth == 'ABCD'">{{ item.title }}</h3> ...
-1
votes
1answer
12 views

Resolving object dependencies on client using Restangular

I have problems with restoring my entity relations at the (AngularJS) client after retrieving them via REST using Restangular. I searched a lot, but could not find a clean solution. I have some years ...
-1
votes
1answer
25 views

AngularJS - hide/show div if date is within last 6 months

I have an ng-repeat that displays a list of dates, and information about purchases on that dates. HTML: <div ng-repeat="data in MyData"> <p> {{ data.purchasedOn.substring(6, ...
-2
votes
4answers
29 views

Ng-Repeat - Angular JS

Here is my ng-repeat <div ng-if="feed.link" articlesource source='{{article.link}}' class="post" ng- repeat="article in data.value.items | limitTo:5"> <img ...
0
votes
1answer
21 views

Data binding in directive template doesn't work with ng-repeat

I created this simple plunker to demonstrate the problem: http://plnkr.co/edit/xzgzsAy9eJCAJR7oWm74?p=preview var app = angular.module('app',[]); app.controller('ctrl',function($scope){ ...
0
votes
0answers
7 views

Alternative to vs-repeat fro virtual scrolling

I try vs-repeat from https://github.com/kamilkp/angular-vs-repeat for virtual scrolling, but need a better performance. Do you know any alternative...
-1
votes
3answers
34 views

Calculate average from list of values in JSON

I have a simple ng-repeat that displays a list of values (financial income). How can i calculate the average from this list? <div ng-repeat="data in MyData"> {{ data.income }} </div> ...
0
votes
1answer
32 views

Hide and show radio button using angular js

<div class="filter_hide"> <div ng-cloak ng-repeat="web in website" > <label ng-show="filter[web.websiteId]"><input type="radio" id="{{web.websiteId}}" ...
0
votes
1answer
18 views

Angular sorting with nested array

I have been trying to find an answer for a while and have been unable to do so. I was wondering if anyone had an idea on how to sort the following data (members property) within ng-repeat without ...
0
votes
1answer
29 views

reset radio button using angular js

<div class="reset"> <a href="#" ng-click="resetall()">Reset</a> </div> <div class="check_box" ng-hide="filter[web.websiteId]" ng-repeat="web in website"> ...
1
vote
1answer
24 views

AngularJS multiple forms with ng-repeat validation

I am using ng-form as a parent form and child mg-forms for validation with ng-repeat. <div ng-form="form"> <div ng-repeat="field in fields"> <div ...
0
votes
2answers
25 views

Dynamic way to pass url pamars in angular js

$http({method: 'GET', url: '/asas/asasa'}).success(function(data) { $scope.website = data.websites; $scope.topoffer = data.coupons; $scope.webcall = function () { ...
1
vote
0answers
32 views

check ng repeat list length in angularjs

i am using ng-repeat for dynamically add or remove phone numbers. In this case i have separated ng-repeat content into separate file. I have included this separate file by using ng-include. All of ...
1
vote
1answer
53 views

How to skip $index in ng-repeat

Consider the following: <div ng-repeat='quest in quests'> <div ng-switch on="quest.ui.type"> <div ...
0
votes
3answers
43 views

AngularJS: Make ng-model available outside of ng-repeat

In my AngularJS app, I am looping through an array object and send the value to a radio input as value. The overall idea is that the user selects a radio box and the value with be back part of ...
0
votes
3answers
24 views

How to print a string array which is part of a JSON consists of other attributes

in the client side, I have a json object which I receive from REST service somewhere. This object has more that one attribute, one of them is a String array. I want some assistance on how to print ...
0
votes
1answer
24 views

AngularJS - Show a div if date is within last six months

I have a simple ng-repeat that displays a list of names and icons: <div ng-repeat="data in MyData"> <p>Name: {{ data.Name }}</p> <span ...
0
votes
2answers
33 views

get index of ng-repeat inside of ng-repeat [duplicate]

I have a page where An array has an array inside it and is displyed using ng-repeat 2 times. <div ng-repeat="chapter in chapters"> <div ng-repeat="page in chapter.pages"> ...
0
votes
1answer
24 views

AngularJS Trying to use ng-click with ng-switch but ng-switch is not switching my divs

AngNoob here. I have some global navigation that uses the routeProvider to swap out external html pages inside the view. Within the view i set up a list type sub navigation (created with ng-repeat) ...
1
vote
1answer
30 views

ng-repeat absolute $index when using filter

I'm trying to get the absolute $index of the ng-repeat when using the filter. For example I have an array like this: $scope.notes = [ { name: 'note 1', value: '1' }, { ...
1
vote
1answer
20 views

Combining two ng-repeats in a table

I want do use two different ng-repeat loops in a table to kind of group different obejcts with each other but don't know really how to do it. My code right now: ... <tbody> <tr ...
-1
votes
3answers
26 views

AngularJs Injector Module Error

i'm new in AngularJs (started an couple hours ago) and i'm trying to complete the AngularJs in 60 minutes'ish tutorial. But i got stucked on the first controllers example. This is my code: ...
0
votes
3answers
34 views

Remove click event on last item in ng-repeat

I have an ng-repeat which looks like the following: <ol> <li class="pointer node-name" ng-click="myClick(node)" ng-repeat="node in myArray">{{node.name}}</li> </ol> This ...
0
votes
1answer
28 views

How do I set multiple unique charts in their own DIVs using an AngularJS directive and Highcharts

First, a HUGE thank you to anyone who can help me figure out how to get this working! I am creating a dashboard which shows several main containers. Inside these containers are smaller ones with ...
0
votes
2answers
20 views

ngRepeat with Table: Change a cell's display text

I have a list of mails which I want to show in a grid (<table>). Some of these mails have attachments. For their corresponding rows, I would like to show an attachment icon in the attachment ...
-1
votes
0answers
47 views

AngularJS - ng-repeat Showing single records Multiple Times

I am working with AngularJS. I am getting strange behavior from ng-repeat. I have a controller which returns me the data to ng-repeat such as: ..... //My other JS Functions ..... var app = ...
-1
votes
0answers
24 views

AngularJS - Adding CSS classes to siblings

I am trying to add a CSS class of open a DIV's sibling. Here's my HTML: <div id="profile-information"> // Code </div> <div class="profile-info"> <div ...
-1
votes
0answers
11 views

Show only values that are with the same value with another value in AngularJS

How can I make these accordion headings(keyw.Keyword) contain only values that has the same value with keyw.Keyword? $scope.recipe_data=[ { "Name":"Creamy mushroom and bacon soup", ...
1
vote
1answer
33 views

I need to put a space inside ng-true-value=“fa-li ” Angularjs

The plunker shows my list working the way I want. but I am unable to put a space between my list items. It would be ideal if ng-true-value="fa-li " read that space but it doesnt. I thought about ...
0
votes
1answer
34 views

avoid DOM manipulation using jQuery in ng-repeat

I am new to angular and working on a simple CRUD application. I understand that I must avoid DOM manipulation using jQuery if I can. I am displaying data on the page after I get data from server ...
0
votes
1answer
38 views

AngularJS - reset ngInit in ngRepeat

Assume the following JSON structure, which is strongly simplified from what I am currently working with: $scope.var1 = { "test1": { "name": "test1", "belongsTo": "var1", ...
1
vote
2answers
32 views

AngularJS 1.2 ng-repeat animation on page load

Staggering Animations are great! But I don't get it to work without user interaction. There is a total normal ng-repeat list: <div ng-controller="controller"> <div class="category" ...
0
votes
1answer
23 views

angularjs amount of method calls in in-include with ng-repeat [on hold]

We need to render a tree structure with angularjs. We are doing it with recursive templates, and it works before we have more than 100 items in the tree. What I noticed it that getTemplate method is ...
0
votes
1answer
31 views

Data Binding not passing correctly to controller function parameter inside ng-repeat

I am building a menu to allow users to change CSS on my webapp. My js method takes a string and then adds it into a URI for a bootswatch CDN. The code works when I hardcode a string. When I use the ...
0
votes
1answer
19 views

Can a filtered ng-repeat become a ui-router state in AngularJS?

I'm using ng-repeat to list photos and to filter them by genre: <div class="partial-view" ui-view> <div class="portfolio" ng-controller="PortfolioCtrl"> <ul ...
0
votes
2answers
34 views

ng-repeat on two arrays

I want to do a ng-repeat on an array which is composed of two arrays, like this : [titles: [], links: []] My arrays (titles and links) have the same length What i want to print in my ng-repeat, ...
0
votes
1answer
42 views

Bring single item to top of list

Given an arbitrary list of items, in a ul or set of divs, I would like to use the angular way to bring the selected item to the top of a list/display. $scope.items = [{name: "Garfield", id: 1}, ...
0
votes
2answers
31 views

How to count input tags created by ng-repeat

I am working on an Angular app that has a large survey form. I am making a status bar that will indicate what percentage of the form has already been completed. The form contains 9 input fields that ...
0
votes
4answers
28 views

nested ng-repeat $parent.$index and $index

I have a strange bug that, unfortunately, I cannot replicate with jsfiddle. I've commented out my entire code (Except libraries,etc) except for the following snippets. Is there something obvious ...
0
votes
2answers
34 views

Generate new $index for array items per specific key:value in Angular

Please be patient if I don't understand something and need clarification as I'm still new to Angular, and please simplify explanations for an Angular newbie if you can, thanks! I am working on a ...
0
votes
2answers
42 views

AngularJS - ng-repeat show one item at a time

looking for some ideas here. i have a meal plan object that contains an array of meals. only one meal can be set as primary at a time but i want the user to be able to cycle through the array of meals ...
-1
votes
1answer
22 views

Angular keep iteraction object in option with ng-repeat

With ng-options the selectedCar will be a car object <select ng-model="selectedCar" ng-options="car as car.description for car in cars track by car.id"> </select> With ...
1
vote
1answer
30 views

Display keys and values with Angular array

I have an array in Angular like this: $scope.test = [ {'item1' : 'answer1' }, {'item2' : 'answer2' }, {'item3' : 'answer3' } ]; And so on... Now there's 2 things I want to do. Firstly I want ...
0
votes
0answers
18 views

AngularJS - Filter HTML character references

I have a set of JSON responses/results that i display to the front-end. Some of these contain HTML character codes, for example: <b>Some Text</b> Rather thank using ngSanitize, can i ...
0
votes
1answer
23 views

Preserve scope values while moving template in ng-repeat

I have two collections binded to ui that populate through ng-repeat In that I have included ng-include="template.html" <div> <div ng-repeat="item in items1"> <ng-include ...