fix #4 default position can be set by directive attribute

`top` and `left` property can be set as directive property.