add category dropdown with elements generated by angularjs