AngularJS module for advanced working with strings in JS