bind viewmodel at the end of the constructor to prevent errors
Merge pull request #397 from davherrmann/issue#394

bind viewmodel at the end of the constructor to prevent errors