add angular nginit directive and endpoint to receive the terms and generate the proper combination list