Removed unnecessary scope variable from controller.