reinit AngularJS after a non-AJAX request