allow search widget to be used as a page filter or a submission form
replaced angular-ui-router with angular-route-segment, seems more stable and sensible