$q and $http promises, such as the promise returned by languageService.getLanguages(), will already implicitly $apply() when needed.
$q and $http promises, such as the promise returned by languageService.getLanguages(), will already implicitly $apply() when needed.