add support for specifying templateUrl on route gen