I have created a html table with static data and now I want to add filter option to the table data using angularjs.
I tried this:
<input type="search" placeholder="Filter" ng-model="searchtext"/> <br/><br/>
<table class="table table-hover">
<thead>
<th>Name</th>
<th>Version</th>
<th>Type</th>
</thead>
<tbody id="Table" class="tbody">
<tr ng-repeat="filter:searchtext | orderBy: 'name'">
<td>link</td>
<td>4</td>
<td>L1 Type</td>
</tr>
</tbody>
</table>