use a controller
added button to change the model which will be re-rendered by angular