How do i best create a dynamic toolbar?

ok ill try that, does the callback function have access to the controllers scope? or how else does it call functions on there?

edit:// after building a test app it does work as expected and uses the same scope, thank you!