Adding first version of Angular.js regex extractor