correctly use $scope for the languageList.