convert category options to angular