move the TodoAppView template out from the index.html. How all contents are generated dynamically.