Fixes dropdown

For both directive embedded and separate controller