Show how to use MVVM in TypeScript.