Adding $scope as a dependency to controller which need them