2017-05-06 3 views
-1

Ich bekomme diesen Fehler, das erste Mal funktioniert es, aber zum zweiten Mal bekomme ich einen Fehler. Das erste Mal funktioniert es perfekt.AngularJS-Typfehler v2. Ist keine Funktion

<table class="table table-bordered bordered table-striped table-condensed datatable" id="Edii"> 
     <thead> 
      <tr> 
       <th>Edition Name </th> 
       <th>Hight</th> 
       <th>Width </th> 
       <th>Total Size</th> 
       <th>Rate </th> 
       <th>No of Insertion</th> 
       <th>Total Cost </th> 
       <th>Discount</th> 
       <th>Net Cost </th> 
       <th></th> 

      </tr> 
     </thead> 
     <tbody> 
      <tr ng-repeat="Emp in edi | filter:query"> 
       <td>{{Emp.Editions}}</td> 
       <td>{{Emp.Hight}}</td> 
       <td>{{Emp.Width }}</td> 
       <td>{{Emp.Size}}</td> 
       <td>{{Emp.Rate}}</td> 
       <td>{{Emp.Insertion}}</td> 
       <td>{{Emp.Cost }}</td> 
       <td>{{Emp.Discount}}</td> 
       <td>{{Emp.Net}}</td> 
       <td><a ng-click="Edition(Emp)" >Edit</a></td> 
      </tr> 
     </tbody> 
    </table> 
+0

@OscarAkaElvis: if Sie sehen dringend in einem Beitrag betteln, fühlen Sie sich frei, es zu bearbeiten. – halfer

+0

Ok, ich sah es und dachte, es zu entfernen ... jetzt ist klar. Nächstes mal werde ich. Danke für den Tipp von "Editing Art". – OscarAkaElvis

Antwort

0

Ich bekam die Antwort, jedes Mal, wenn ich die Tabelle am bevölkern die Steuerung muss neu initialisiert werden, so dass es von $ state.reload gelöst()

dank