use createChildView to create component so properties are set on init

resolve #2