KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to create a picker with Bootstrap Dropdown and AngularJS. http://jsfiddle.net/qbjfQ/ <li ng-repeat="item in list"><a ng-click="current = item">Dynamic set {{item}}</a></li> When I use ng-click statically in the list, it works fine (example 4 and 5) But when I use ng-click in ng-repeat, it won't update the value (example 1 to 3) What can I do ?
Tags (comma-separated)
Save Edits
Cancel