ng-if showing both elements during asynchronous call [duplicate]
问题 This question already has answers here : Show spinner GIF during an $http request in AngularJS? (26 answers) Closed 8 months ago . Using: v1.3.15 I understand what the coder was trying to accomplish by using two select menus for this. However, because the data being loaded in the select box is the result of an api call, there is a delay, so both select menus are displaying until the data has been retrieved. Is there a way to show the "searching" message option using a single select element