Added the ability to pass data from the controller to the template