modified scope in controller