AngularJS module for parsing range selection strings from user input