new factory_($window)
Provides a function that returns the most appropriate 2-letter language code depending on the list of available languages and the browser languages settings.
Parameters:
Name | Type | Description |
---|---|---|
$window |
angular.$window | Angular $window service. |
Returns:
ngeox.miscGetBrowserLanguage
The "GetBrowserLanguage" function.