Angular directive for bootstrap dropdown