angular.dart
angular.dart copied to clipboard
Allows NgRouteCfg to take path of type Pattern
Currently NgRouteCfg only accepts path of type String, which implements Pattern.
It will be useful if NgRouteCfg could take path of type Pattern, which will allow other subclass of Pattern to be used directly for matching.
To be clear, this is for Dart. In Dart, String and RegExp are subtypes of Pattern.