0
votes
1answer
8 views

unable to get datepicker to work with ng-repeat

I'm displaying a table row for each item in my $scope.items through an ng-repeat Calling the ng-repeat prevents the jquery-UI datepicker popup from appearing. Though if I remove the ng-repeat, it ...
0
votes
0answers
11 views

Displaying user Data from Firebase with AngularFire

Here's what I'm trying to do: I'm using AngularJS and firebase in a project where: 1. an anonymous login happens, then 2. a record in a firebase datastore gets created for that login with an ID I can ...
-1
votes
0answers
13 views

routeparams not working in ng-repeat NO RESPONSE

Im working on a shoppingCart project and want to bring data into views dynamically so Im calling routeParams in template.html but it is arriving normally as checked via but it isnt working with ...
1
vote
2answers
26 views

Force ng-repeat to rerun function in data binding

I'm using ng-repeat in a table to show a list of items and their prices. The price is bound to itemPrice(item), defined in my controller. The function calculates a price based on $scope.orderType. ...
0
votes
1answer
20 views

AngularJS - ng-repeat to display empty cell/s when data is not available when using slice twice

I have a simple ng-repeat that loops through a JSON file with a list of countries and details about that country e.g. currency, population for a particular set of months (24 in this case) My ...
0
votes
0answers
12 views

Fancybox directive in ng-repeat is not grouping images

I am trying to use Fancybox within my app and while the plugin works (it opens the images in the lightbox), it is not recognizing the rel or data-fancybox-group attribute to group multiple images (so ...
1
vote
2answers
29 views

Bind normal js variable as an angular object key

I have an array of objects, objects, and a a few JS variables holding static strings, such as static1, static2 ... How can I accomplish the following: <tr ng-repeat="obj in objects"> ...
2
votes
2answers
32 views

Parse JSON file with arrays using AngularJS

I'm not sure how to iterate through this JSON data with help of AngularJS { { "1590": { "id": "1590", "id_site": "0", "id_merk": "7", "id_type": "209", ...
0
votes
0answers
17 views

dynamic dependancy added when module is called

I am still quite new to angular and perhaps I have the wrong end of the stick in my design here but I am trying to create a re-usable widget, a dropdown menu (html select). This dropdown menu will ...
0
votes
1answer
15 views

AngularJS nested Arrays using ng-repeat

I have been spinning my wheels on this one. Reading through most of the answers on stackoverfolw has helped me understand more about building nested arrays and using .json files. I still cannot figure ...
0
votes
3answers
29 views

Populate hidden field with the last selected value using angular.js

So, I have this code Fiddle <div ng-app="testApp"> <div ng-controller="MainCtrl"> <form> <p> <select ng-model="selectedItem" ng-options="i.name for ...
0
votes
0answers
37 views

Using Angular, have “expanded” two levels deep in the json object, but still comes back blank using Breeze

When I try to display Person>PhoneNumber[0]>PhoneType.Name, from my json object, it's blank. Via Fiddler my API Services is returning this data.. [ { "$id":"1", ...
0
votes
2answers
30 views

angularjs render data in multiple containers

I am new to angular. I am trying to find a way to render half of a data array into one div and the other one to another div. angular.module("testApp", []).controller('mainCtrl', function($scope){ ...
0
votes
1answer
10 views

How to get previous object in ng-repeat after orderBy is applied

I have an array of objects that have a "Category" property. In my ng-repeat, I am creating a group by conditionally showing a header row with the category name if it is different that the previous ...
0
votes
1answer
29 views

use service for ng-class in AngularJS?

Do you think if it's possible to use a service/directive/... for ng-class ? What I mean is that I use the same ng-class in several partial view. <div ng-repeat="s in statut"> <div ...
0
votes
1answer
32 views

AngularJS, PhantomJS, and ng-repeat problems

I'm using PhantomJS to generate snapshots of my Angular application, as explained here. To do this, I have a PhantomJS script that reads a URL, spitting the HTML to console, plus a Node script that ...
0
votes
2answers
31 views

Can I use Angular variables as the source of an audio tag?

I am trying to do the following: <div ng-repeat="audio in event.audios"> <audio ng-src="/data/media/{{audio}}" controls></audio> </div> But when I load the view, the ...
1
vote
1answer
23 views

view is not updated in AngularJS

I have an issue when I try to display data. I send my form and update my database (it works great, backend is ok) I use a button on the page to return to homepage The view of the homepage is not ...
-1
votes
1answer
23 views

How can I compare two values in angularjs in HTMl

How can I compare two scope values using angularjs in HTML only? for example: <div ng-if="place.id = place.reference.id"> show if equals</div> I want this to cover certain scanrios
0
votes
0answers
9 views

How to lazy load panel content on a button click having multiple panels on the same page using angularjs

I have a scenario here where I have multiple panels (using ng-repeat) on the same page. Each panel have a link, on click of which it loads data specific to that particular panel and returned response ...
1
vote
2answers
33 views

Wrapping template of element directive in collection directive

I've two element directives collection and element, supposed to be used like this: <collection> <element/> <element/> </collection> They have templates: ...
0
votes
2answers
38 views

Access ng-repeat repeating data inside appended html

I am appending some HTML into a model item when that item is clicked using custom directive. My code: <div appenddata> <div ng-repeat="model in models"> <label ...
0
votes
2answers
24 views

Bind part of ng-model with scope in angularjs

In my application i have array of colors and i want to create a list of colors with checkbox. var app = angular.module('app',[]); app.controller('mainCtrl',function($scope){ $scope.colors = ...
0
votes
1answer
18 views

angularjs position div pixel perfectly despite browser resize or device/orientation, on page load not working

I am new to AngularJS, and since I have been pursuing a solution to the problem for several days (perhaps a week), it indicates to me that I am not using it correctly. The problem: the need to ...
0
votes
0answers
9 views

Can angular expressions render XML node attributes , despite [$parse:isecdom] Referencing DOM nodes in Angular expressions is disallowed

The code is using the ng-repeat directive in an attempt to render an untreated array of XML nodes. Below is one such node. <item xmlns="jabber:iq:roster" subscription="none" name="admin" ...
0
votes
1answer
33 views

AngularJS: remove item from a list using ngRepeat and ngInit

I use ngRepeat to show items from a list. As recommended by the documentation, I use ngInit to assign the $index variable to an "itemIndex" variable that I refer to inside the loop. Every item is ...
0
votes
1answer
26 views

AngularJS ng-repeat to create divs

I want to use AngularJs to create some div structure but it doesn't work at all. How am I supposed to use range ? <div ng-controller = "gameController"> <div class="table"> ...
0
votes
1answer
30 views

Problems with ng-repeat-start

This code works: <table ng-repeat="tool in tools | filter:tag"> <tr> <colgroup width="auto" span="5"></colgroup> ...
0
votes
1answer
39 views

Using Angular-Bacons $scope.$watchAsProperty(property) in Angulars ng-repeat

I´m trying to find a good way to use Baconjs together with Angularjs in conjuctions with Angular-Bacon. Now digesting from Bacon to the Angular scope works perfectly fine but I´m stumbling with ...
1
vote
1answer
25 views

Filter Array based on the selection of another array

I have two arrays, one contains the Min-Prices and the other contains the Max-Prices, and if the user chooses a min-price of say "8000" from the Min-price dropdown, I want to show only the values that ...
0
votes
2answers
36 views

Angularjs two way data binding on ng-repeat with directive

What I am trying to achieve: trigger an angular js directive on a jquery ui event which in turn calls a method in the controller, which adds a value in an array which should appear in the view because ...
0
votes
1answer
23 views

Parameter not passed to Handler in nested Angular Directive

I have "Pages" property which contains an array of "Page". Each "Page" have an array of "Control" exposed against "Controls" properties. I have written Directive to render markup for Page and ...
0
votes
2answers
51 views

Issue with ng-model and ng-repeat, duplicate forms

I have a page where multiple forms are created based on ng-repeat. everything works fine until write something into the input and everything gets duplicated on all the other repeated forms input ...
0
votes
2answers
42 views

Is it possible to update ng-repeat at responsive breakpoints?

Is it possible to have Angular update an ng-repeat at particular screen-sizes? I have 20 divs, however at 640px and below I would like to display only 6, between 640px 1024px I would like to display ...
0
votes
1answer
43 views

Issue with ng-model and ng-repeat, inout value is duplicated on each form field on the page

I have a page where multiple forms are created based on ng-repeat. everything works fine until write something into the input and everything gets duplicated on all the other repeated forms input ...
1
vote
2answers
39 views

Angularjs ng-repeat: iterate over a special object fields

I have an object: var options = { NAME_1 : "Name 1", TEXT_1 : "Description goes here", NAME_2 : "Name 2", TEXT_2 : "Description2 goes here", }; Is it possible to iterate over the ...
0
votes
1answer
11 views

Multiple Process bar change the type

<tr ng-repeat="data in data.names"> <td> <progressbar class="progress-striped" value="data.value.marks" type="dynamic value">{{ data.value.name ...
0
votes
1answer
21 views

Multiple progress bar in angularjs

<tr ng-repeat="data in data.names"> <td> <progressbar class="progress-striped" value="{{ data.value.marks }}" <-- // here is problem ...
0
votes
1answer
28 views

I am having to marshal $apply to get my ng-repeat to work, is there a better way?

I have this function that adds data to a $scope object. function newUT(unit, apply) { newGuid(function (data) { var newTask = { id: data, TaskName: 'New Task', ...
0
votes
2answers
31 views

Get all values when button is pressed

Here is the scenario, I have few list items which are repeat via ng-repeat. When we click on the submit button, I need to get all the information of the selected radio button (id, name and ...
0
votes
1answer
34 views

Dynamically add input fields with Angular and perform validation on blur

Form at start has 1 input field for address. Bellow there is a link that when clicked adds another input and so on. There is no limitation in number of fields. Is there more elegant way of adding ...
0
votes
1answer
27 views

AngularJS how do I $compile an element with an ng-repeat?

I can't seem to figure this one out. I need to use $compile (I think), to wire up an element with the scope. This works for elements without another directive (specifically ng-repeat).. but does not ...
0
votes
0answers
31 views

Callback on Angular JS ngRepeat that ALWAYS gets called

There are a ton of questions out there like this but I couldn't find a response anywhere. Like many of you, I am using a custom directive to trigger a callback when ngRepeat finishes. This works ...
0
votes
3answers
55 views

Can angularJS join objects to map names to ids?

I have a user object and an array of events: $scope.user = { userId: 2, userName: jdoe, eventIds: [23,34,45] } $scope.events = [ {eventId: 23, eventName:"bar"}, {eventId: 34, ...
0
votes
1answer
36 views

AngularJS - Issue appending HTML to single item in ng-repeat

THE SITUATION: I am exploring AngularJS by re-building a former project with it. I am using the angularjs-rails gem version 1.2.16. I have a page were I make an API call that returns an array of ...
0
votes
1answer
21 views

$watchCollection on an array of js objects in an Angular Controller requires an anonymous function?

I have a simple js array being retrieved by an angular factory, injected into a control, watched, then displayed in a table using ng-repeat from within a view state managed by ui-router. Initially I ...
2
votes
4answers
58 views

AngularJS - ng-repeat to display empty cell/s when data is not available

I have a simple ng-repeat that loops through a JSON file with a list of countries and details about that country e.g. currency, population for a particular set of months (24 in this case) My ...
1
vote
1answer
32 views

ng-repeat within tabs not working, showing same content

I am new to AngularJS and facing this issue. Scenario: I have an array of photos in below object {{place.result.photos}} I am applying ng-repeat on "Photos" TAB. <div class="panel-body"> ...
0
votes
2answers
40 views

Passing functions via array

I am new to angular js and still working on things. I would like to ask if it's possible to initiate ng-click variables (which are functions.) in angular js? Here is as snippet of my code <div ...
0
votes
2answers
40 views

ng-switch-when with ng-repeat

My HTML code is <tr ng-switch-when="true" ng-repeat="onlineCredentials in onlineCredentialDetails" > <td> <span>Ordering Mode: ...