add ng-const pattern