fix(directive): call attach method ofter all bindings execute

Closes#431