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>&nbsp;</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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -