javascript - Add or Remove multiple list item on the basis of AND,OR,NOT conditions in angular js -
i want add multiple add or remove multiple rules on basis of and/or/not operators. example: rule1>12h && rule2<10h. how can that?
<label class="control-label" for="field_notificationrules">notification filter rules:</label> <div class="form-group"> <table class="table table-stripped table-bordered"> <thead> <tr> <th><label class="control-label" for="field_filterruledefinition">rule definition</label></th> <th> </th> </tr> </thead> <tbody> <tr> <td> <input type="text" class="form-control" name="notificationfilterrulesdefinition" id="field_filterruledefinition" ng-model="vm.notificationrules.notificationrules.notificationfilterrules.notificationfilterrulesdefinition"/> </td> <td><button class="btn fa fa-plus" ng-click="addnewfilterrow()">add</button></td> </tr> <tr ng-show="filtershow"> <td> <input type="text" class="form-control" name="notificationfilterrulesdefinition" id="field_filterruledefinition" ng-model="vm.notificationrules.notificationrules.notificationfilterrules.notificationfilterrulesdefinition"/> </td> <td><button class="btn fa fa-plus" ng-click="addnewfilterrow()">add</button></td> </tr> </tbody> </table> </div>
Comments
Post a Comment