views, controllers and scope