@shacker We're putting the current services & directives (+ future filters) in modules now, this will make it easier for doing testing since we can e.g. dummy out a module.
I also prefixed our directive to make it future proof and won't clash with other directives that we could bring in from future libraries. (E.g. angular ui)
Then I also narrowed the scope for the regex since we aren't using it anywhere else. This makes it a tiny bit faster and more isolated.