Create dropdown js module and angular directives