init frame

add toolbar&item directives
init controller