angular/angular.js — pull request #9317 by c-schmitt (2014-09-28 12:09:59+00:00)
Title: Fixed #9091: ngRoute should load the template after resolve

Currently ngRoute will load the template while it is still resolving.
This patch will stop that behavior and will resolve before the template gets loaded, so that people could change the template via:
$route.current.template/$route.current.templateUrl, so you could build more powereful Applications with the default router. (loading a template based on the resolved resource)