I want to show some text in html only when certain condition inside an input box is met. Otherwise, hide it. I am using AngularJS. Below is my html code.
<form novalidate="" class="simple-form">conditional_number
<input type="text" ng-model="conditional_number " ng-change="search_number()"/>
If the conditional_number in the input box exceeds 5, I want the text Text to appear if condition is met to be displayed.
In AngularJS, there are ng-switch, ng-hide / ng-show, ng-if and perhaps more. I am at a loss which is the most appropriate. How can this be appropriately done in AngularJS?