i am new to angular js . I lkie the angular js filter option. How to apply filter option for following div
<div class="block-parent" ng-app="">
<input type="text" name="search">
<div class="answer block1" style="color: white; background-color: rgb(98, 128, 145);">Nick</div>
<div class="answer block1" style="color: black; background-color: rgb(114, 139, 137);">Sam</div>
<div class="answer block1" style="color: white; background-color: rgb(123, 138, 115);">John</div>
Example: When user type nick on search box then only <div class="answer block1" style="color: white; background-color: rgb(98, 128, 145);">Nick</div>
is need to show $ other two div is need to hide . i see this documentation https://docs.angularjs.org/api/ng/filter/filter . Please help .
UPDATE : To do this task without Angular js Please refer Jquery search using real time input , like Filter option in Angular JS