angularize the windows.scroll codes in controller/index.coffee