Show / Hide Table of Contents
Close
Loading …
There was an error loading this resource. Please try again later.
 Improve this Doc  View Source

$locale

  1. - service in module ng

Overview

$locale service provides localization rules for various AngularJS components. As of right now the only public api is:

  • id{string} – locale id formatted as languageId-countryId (e.g. en-us)