0
votes
1answer
44 views

jQuery not working with ng-repeat results

I am using ng-repeat to build an accordion using jQuery and TB. For some reason, this is working perfectly when hardcoded but fails to trigger on click when inside of the ng-repeat directive. I was ...
0
votes
2answers
35 views

Triggering a function with ngClick within ngTransclude

I have an unordered list loaded with four items from an array while using ngRepeat. The anchor tag in the list item has a function in the ngClick attribute that fires up a message. The function call ...
0
votes
1answer
102 views

ngClick not firing in nested ngRepeat filled with data from $http.post()

I have an AngularJS app to search for journeys. In the part of the problem I am trying to show all available countries per region. The idea is that when you click a country, a function has to be ...
0
votes
1answer
139 views

AngularJS - IE8 - Passing $index to a function within ng-click always return 0 and is executed multiple times

I'm experiencing the following issue. consider this code: <div ng-repeat element in elements> <input type="text"/><a ng-click="deleteTag(inputArray, $index)" ...
0
votes
1answer
228 views

Injecting a HTML template to DOM on click the clean way (Create an instance of a class)?

In my AngularJS project I have something like this (it's a dropdown menu with customer names. With a click on one of the names a Scrum Card should appear with the customer's names inserted in the ...
0
votes
2answers
194 views

Can I reference an item from ng-repeat inside an ng-click operative? [duplicate]

I have something similar to this: <li ng-repeat="page in pages"><a href="" ng-click="currentPage=page">{{ page }}</a></li> in my angular view, where I'm trying to loop ...
0
votes
2answers
266 views

Button inside ng-repeat to update input in form

What I am trying to do is update an input field from within an ng-repeat. I have an ng-click on the button inside the ng-repeat for each user. When clicking on the button it should update the value of ...
0
votes
2answers
276 views

Ng-click built inside Ng-Repeat - not fires its function in chrome, works in FF

This code works great with FF. It fires up the updateModels funcion. But, In Chrome it doesn't do anything.... $scope.updateModels = function(model_id,option_txt,option_idx){ console.log('do ...
3
votes
1answer
1k views

AngularJS - ngSwitch and ngClick not working in ngRepeat

I want to display the elements of a list thanks to a ngSwitch but I can't figure out how to do with a ngRepeat. I've begun by doing it without a list, just to understand how ngSwitch works and to show ...
0
votes
1answer
311 views

AngularJS - ng-click does not remove previous click's modifications when clicked again

So I am trying to acomplish this example: http://jsfiddle.net/pkozlowski_opensource/WXJ3p/15/ However, for some reason, when I click on one div, and then on another, it does not remove the "active" ...
3
votes
2answers
2k views

Ng-click doesn't work inside ng-repeat

Ng-click doesn't work from inside ng-repeat. Outside it works. I've put a fiddle here <div ng-controller="MyCtrl"> <a ng-click="triggerTitle='This works!'">test</a> ...
4
votes
2answers
5k views

AngularJS - multiple ng-click - event bubbling

In the following example: <li ng-repeat="item in items" ng-click="showItem(item)"> <h3>{{item.title}}</h3> <button ng-click="remove(item)">Remove</button> ...