updated ng-options regexp from latest version of angular