create directive for editing toolbar but the api and angular don't mix