A quick demo of how using singleton viewmodels in Durandal can be painful and how constructor functions avoids the issue.