top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is $locale service?

0 votes
228 views
What is $locale service?
posted Nov 27, 2017 by Latha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

$locale service provides localization rules for various Angular components. As of now the only public api
is: id – {string}
For example, a locale id is formatted as: languageId-countryId (e.g. en-us)

answer Nov 27, 2017 by Shivaranjini
...