feat($routeProvider): Allow using functions as template params in 'when'

This pull-request allows using custom functions when assigning templates in $routeProvider.when() method.

The new functionality could be used to generate templates on the fly based on the route parameters. Also, if used in templateUrl, the particular template URL that gets loaded can be customized.

P.S. I've just signed the CLA.