0
votes
3answers
29 views

Angular JS sorting rows by table header

I have 4 table headers $scope.headers = ["Header1", "Header2", "Header3", "Header4"]; And I want to be able to sort my table by clicking on the header. So if my table looks like this H1 | H2 | H3 ...
0
votes
2answers
22 views

AngularJs radio buttons are connected when using ng-form in ng-repeat

See this plnkr http://plnkr.co/edit/WZHMuYY3y2wbI6UysvY6?p=preview When using a ng-form tag on an ng-repeat which contains a radio button group, the radio buttons are linked so if you check a radio ...
0
votes
1answer
23 views

angularjs ng-options array same label value

I've got a filter like angular.module(Bt.config.site.ng_app_name) .filter('range', function () { return function (input, min, max, padding){ min = parseInt(min); ...
0
votes
1answer
43 views

angularjs; sorting in all records, not only in in current page

I've found this simple example for sorting/searching/paging records with angular js. It works fine with search and paging functions. But sort function sorts only in the current page's records. How can ...
0
votes
1answer
28 views

how to reset nested object form angularjs?

I follow angular.js tutorial I add list feature in object array and make form to add it.. I search and finally get how to add new feature to object but I don't know how to reset the form this is the ...
0
votes
1answer
46 views

ng-repeat, directive and on-click. How do they combine?

I want to trap on-click event of button. The id of button is dynamically generated inside the ng-repeat. .set(ng-repeat='button in ['4', '3' , '2', '1' ]') button(id='{{$index}}') button ...
-1
votes
2answers
27 views

angular ng-repeat form.$error 'item' in 'item in collection'

I'm finding a way to automate form validation. So I thought at this code <div id="error-container" data-ng-show="(addContestantFrm.$error.length > 0)"> <h6>Show errors</h6> ...
0
votes
2answers
25 views

catching on-click event of dynamically allocated id

element.find('#id1').on('click', function(){ ... does not work. I am looking for code to do the ABOVE. /* The below text/code is my problem in deeper context.*/ I can do the same with ...
0
votes
0answers
23 views

Dynamic Menu with Angular and Wijmo

I am trying to find a way to dynamically create a menu using the Wijmo directive with angular. To display sub menu i need nested ng-repeat. My nested nj-repeat is working correctly and generating the ...
0
votes
1answer
20 views

How to update ng-repeat variable using autocomplete?

Thanks to SOF for solving my last issue in angularjs and autocomplete. Angularjs with jquery auto complete not working Now, I have an issue of same type in ng-repeat... In View <tr ...
0
votes
3answers
52 views

Injecting a new row anywhere in an ng-repeat

I'm working on an invoice website and I would like to be able to add a new row anywhere to my ng-repeat. Site: http://completeinvoice.com/ HTML <tr id="row-{{$index+1}}" class="item-row" ...
1
vote
1answer
40 views

AngularJS - Issues with events inside controller instances generated by ng-repeat

today I'm experiencing an issue that sounds weird to me but has some logical explanation for sure... I'm building a table where I'm allowing to inline edit the fields values. You see a span with the ...
0
votes
1answer
35 views

Binding an array of json results to html in angularjs

I'm pretty new to angularjs, and getting a json result set that I'd like to display. I have the following; Service: var Post = function(data) { angular.extend(this, data); } Post.getAll = ...
0
votes
4answers
61 views

Giving unique id to each item in `ng-repeat` for DOM manipulations

.div(ng-repeat='item in items') button(id='ID{{$index}}') No Hi button(id='anotherID1') Hi inside relevant Angular Directive $('#ID1').on('click', function() {alert('hi');}); // does not work ...
1
vote
1answer
37 views

How do I dynamically build an ng-include src?

I have the following code: <div ng-repeat="module in modules" id="{{module.Id}}"> <ng-include ng-init="bootstrapModule(module.Id)" src=""></ng-include> </div> I want to ...

15 30 50 per page