I have a table
with a search bar which filters and displays the rows which it can match. This works fine but I want to implement that what if.
What if there's no search results from what you've decided to search. As it stand the table
will simply display nothing. What I need is to instead display some text such as "No search results found." Ideally it would be a neat solution as opposed to an alert box or anything like that.
Any ideas? There's a plnkr below.
<input type="text" class="form-control" ng-model="query[queryBy]" style="width: 400px;" placeholder="Search" />