तालिका इंडेक्स में परिवर्तन के साथ तालिका पंक्ति के लिए कोणीय UI-sortable।
  & lt; table & gt ; & Lt; tbody UI: sortable एनजी: मॉडल = "उत्पाद" & gt; & Lt; tr ng-repeat = "उत्पाद में डेटा" & gt; & LT; टीडी & gt; {{$ सूचकांक}} & lt; / टीडी & gt; & LT; टीडी & gt; {{data.name}} & lt; / टीडी & gt; & Lt; / टीडी & gt; & Lt; / tbody & gt; & Lt; / tbody & gt;   जेएस फ़ाइल:
  $ scope.product = [{नाम: 'टमाटर'}, {name: 'tomato1'}, {name: tomato2 '} {नाम:' tomato3 '}];     
 
  
Comments
Post a Comment