Template loads from model
Index view passes json from model to template