fix(url_template): don't rely on Pattern.toString() because it varies between browsers

Fixes https://github.com/angular/angular.dart/issues/802