Passing variables between controller and view script.