I'm currently utilizing ng-if to toggle the visibility of an input box. However, whenever I refresh the page, the input box automatically appears and then hides after selecting an option. Below is my code snippet. Any suggestions would be greatly appreciated. Thanks in advance :)
<select id="notifyBy"
style="border:none"
class="formtext1 inputimg"
ng-model="singleSelect">
<option value="option1">E-mail</option>
<option value="option2">Instant Message</option>
<option value="option3">Telephone</option>
<option value="option4">None</option>
</select>
<input placeholder="Please enter phone number"
class="formtext1"
ng-if ="singleSelect === Telephone"></input>