Simple example on how to pass data to the view