Angular 1.x route provider + templateurl thorugh a function code example
Example: ngroute in angularjs
"//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-route.js"
"//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-route.js"