add instance var to controller and pass it to the view extend
Merge pull request #2 from leejaew/leejaew

add instance var to controller and pass it to the view extend