Adding a demo of gon to pass data between controllers and javascripts without using ajax.