fix comments, remove unused code
add aggParam.type, use it in agg param initialization
add exclude filter to terms agg, use regex aggParam
set up regular express editor
correctly build the regex agg query
add include field to terms aggs
fix optioned text, add regex test
add label filter test
add paramType tests, move instance checking there
add some tests for the regex param type
add tests for write method, consolidate code
remove superfluous condition
only append flags of flags are set
move regex flag to the param type
fix issue where angular might not be loaded
style the regex flags, add link to docs
remove label margin
move the regex editor into the param definition
change regex flags to multi select
add angular-chosen