× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Rerender Angular templates

<p>Use the <code>$scope.$apply</code> to force a rerender of the template:</p> <p> </p> <pre><code class="language-javascript">someAsyncCall(function () { $scope.$apply(function () { $scope.someVariable = 42; }); });</code></pre> <p> </p>

Get New Tutorials Delivered to Your Inbox

New tutorials will be sent to your Inbox once a week.

comments powered by Disqus