removed $scope from dependencies