,这里是我的html table.i使用已经绑定表角JS采用了棱角分明的js
<body ng-app>
<div class="wrapper wrapper-content" ng-controller="InboxMailCtrl">
<div class="input-group-btn">
<button type="submit" ng-model="search" class="btn btn-sm btn-primary">
Search
</button>
</div>
<table class="table table-hover table-mail">
<tbody>
<tr ng-repeat="CU in InboxList">
<td class="mail-ontact"><a href="" ng-click="ViewEmailDetails(CU.InboxMailID)">{{CU.Reciever}}</a></td>
<td class="mail-subject"><a href="" ng-click="ViewEmailDetails(CU.InboxMailID)">{{CU.Subject}}</a></td>
</tr>
</tbody>
</table>
</div>
在这里HTML表格搜索我的angularjs code.i要添加搜索功能
var InboxDraftMailCtrl = function ($scope, $http) {
BindDraftMailList();
function BindDraftMailList(Data) {
debugger
var UserEmail = sessionStorage.getItem("loginUserID");
var obj = {
data: UserEmail
}
debugger
$http({
url: "MailRoute/getDataForDraftMail",
dataType: 'json',
method: 'POST',
data: obj,
headers: {
"Content-Type": "application/json"
}
}).success(function (response) {
})
.error(function (error) {
alert(error);
});
}
什么,我已经加入到实现搜索功能
明显没有尝试简单的网络搜索简单的术语,如'角搜索'或将找到** [过滤器文档](https://docs.angularjs.org/api/ng/filter/filter )**和许多其他结果 – charlietfl