Podcast/lib/angular/docs/partials/api/ng.$locale.html
2013-08-21 19:46:51 +02:00

13 lines
852 B
HTML
Executable file
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a href="http://github.com/angular/angular.js/tree/v1.2.0rc1/src/ng/locale.js#L3" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/locale.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">$locale</code>
<div><span class="hint">service in module <code ng:non-bindable="">ng</code>
</span>
</div>
</h1>
<div><h2 id="Description">Description</h2>
<div class="description"><div class="ng-locale-page"><p>$locale service provides localization rules for various Angular components. As of right now the
only public api is:</p>
<ul>
<li><code>id</code> <code>{string}</code> locale id formatted as <code>languageId-countryId</code> (e.g. <code>en-us</code>)</li>
</ul>
</div></div>
</div>