How to search the data from table using AngularJS

This article explain you to search the from table using AngularJS
This post is continuation to the previous post Display the data in table using ng-repeat using WebAPI and AngularJS. In this post am explaining how to search the data from table using AngularJS and also how to apply Bootstrap css to table
To implement this we need to write the code like as shown below

HTML Java Script CSS:
<!DOCTYPE html>
<html xmlns="">
    <title>Manage Employee</title>
    <link href="../Content/bootstrap.css" rel="stylesheet" />

    <style type="text/css">
        table th {
            background-color: #7081d1;
            color: #fff;
            font-weight: bold;

        .margin_5 {
            margin-top: 5px;
    <div ng-init="fetchdata()">

        <div class="row">
            <div class="col-lg-3 col-sm-3 col-md-3">
                <div class="input-group">
                    <input class="form-control" ng-model="searchValue" placeholder="Search" type="text" />
                    <span class="input-group-addon">
                        <span class="glyphicon  blue-theme glyphicon-search"></span>

        <div class="row margin_5">
            <div class="col-lg-12">
                <table class="table table-bordered table-responsive table-hover">




                    <tr ng-repeat="items in griddata|filter:searchValue">




Add caption

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks