Changed $scope in js-file