IRoute.templateUrl also now accepts a function instead of a string.

Adjusted templateUrl of IRoute because $routeProvider now allows function templateUrls to be defined such as;

        .when("/:controller/:action", { 
            templateUrl: function ($routeParams) {
                console.log("Default rule");
                return '/ng/app/views/partials/' + $routeParams.action.toLowerCase() + '.htm';
            }
        })
Merge pull request #818 from danieljsinclair/patch-1

IRoute.templateUrl also now accepts a function instead of a string.