Fixed init of $viewValue as propsed in PR #32