I have select tag the options which will come from the service, after adding one more item to scope from the other service i am not getting the newly inserted value in select options, i am able to see the option after refreshing of the page, scope is not fetching the results on changing of its values. here is my code
html code is here
<select ng-model="holidaySelected"
ng-options="opt as opt.holidayName for opt in list_of_holidaytypes">
</select>
js code is here
$http({
method : 'get',
url : 'url'//url is here
}).then(function(response) {
$scope.list_of_holidaytypes = response.data;
});
after another service i am calling this service again but I am not able to see the new option in UI side.