88 * use, and will default to the most recent one ($templateRequest on Angular
99 * versions starting from 1.3, $http otherwise).
1010 */
11- function $ TemplateFactoryProvider( ) {
11+ function TemplateFactoryProvider ( ) {
1212 var shouldUnsafelyUseHttp = angular . version . minor < 3 ;
1313
1414 /**
@@ -45,7 +45,7 @@ function $TemplateFactoryProvider() {
4545 * Service. Manages loading of templates.
4646 */
4747 this . $get = [ '$http' , '$templateCache' , '$injector' , function ( $http , $templateCache , $injector ) {
48- return new $ TemplateFactory( $http , $templateCache , $injector , shouldUnsafelyUseHttp ) ; } ] ;
48+ return new TemplateFactory ( $http , $templateCache , $injector , shouldUnsafelyUseHttp ) ; } ] ;
4949}
5050
5151
@@ -60,7 +60,7 @@ function $TemplateFactoryProvider() {
6060 * @description
6161 * Service. Manages loading of templates.
6262 */
63- function $ TemplateFactory( $http , $templateCache , $injector , shouldUnsafelyUseHttp ) {
63+ function TemplateFactory ( $http , $templateCache , $injector , shouldUnsafelyUseHttp ) {
6464
6565 /**
6666 * @ngdoc function
@@ -161,6 +161,6 @@ function $TemplateFactory($http, $templateCache, $injector, shouldUnsafelyUseHtt
161161 this . fromProvider = function ( provider , params , locals ) {
162162 return $injector . invoke ( provider , null , locals || { params : params } ) ;
163163 } ;
164- } ;
164+ }
165165
166- angular . module ( 'ui.router.util' ) . provider ( '$templateFactory' , $ TemplateFactoryProvider) ;
166+ angular . module ( 'ui.router.util' ) . provider ( '$templateFactory' , TemplateFactoryProvider ) ;
0 commit comments