javascript - $scope.$apply not updating on page refresh -


i have subscribed signalr events. on notification updating textbox using $scope.$apply. works fine. if page refreshed using f5 or browser reload button, receiving signalr events but, textbox not getting updated.

i missing anything?

on notification

   signalrhub.client.notify = function (data) {          $scope.$apply(function () {              $scope.upgraderesult += data.message;         });      } 

what browser version using? if testing using ie, f5/refresh retrieve cached page unless change settings under internet options->general tab->browsing history subsection->settings default- check versions of stored pages selected 'automatic'. modify 'every time visit page' - should bypass caching page , changes made on page should reflect. although may not resolve impediment if caching not issue, useful tip consider nevertheless avoid caching problems.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -