blob: f9ae87f7ab995389f825bdb7c491abbe07d14274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!document html>
<html>
<head>
<meta charset="utf-8">
<title>locale test</title>
<script src="../../build/angular.js" ng:autobind></script>
<script src="../../build/i18n/angular-locale_sk-sk.js"></script>
</head>
<body>
<input type="text" name="input" value="234234443432"><br>
date: {{input | date:"medium"}}<br>
date: {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
currency: {{input | currency }}
<hr/>
<input type="text" name="plInput" value="1"><br>
<ng:pluralize count="plInput"
when= "{ 'one': 'Mas jeden email!',
'few': 'Mas {} emaily!',
'other': 'Mas {} emailov!'}">
</ng:pluralize>
</body>
</html>
|