angular dropdown and filter for risk loss curves + clean up and other misc improvements