aboutsummaryrefslogtreecommitdiffstats
path: root/i18n/e2e/localeTest_es.html
diff options
context:
space:
mode:
authorMisko Hevery2012-03-28 11:16:10 -0700
committerMisko Hevery2012-03-28 11:24:47 -0700
commitbb2fa6f63f0a4a08d4a3a5439d1ab6d9ddfd917e (patch)
tree7e4cf557e806820b4c37516b972d35c82de1d09a /i18n/e2e/localeTest_es.html
parentba59ef495007d192724b352c68e7d2edc53f8b63 (diff)
downloadangular.js-bb2fa6f63f0a4a08d4a3a5439d1ab6d9ddfd917e.tar.bz2
fix(i18n e2e tests):
Diffstat (limited to 'i18n/e2e/localeTest_es.html')
-rw-r--r--i18n/e2e/localeTest_es.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18n/e2e/localeTest_es.html b/i18n/e2e/localeTest_es.html
index 9584e34e..7f8333a6 100644
--- a/i18n/e2e/localeTest_es.html
+++ b/i18n/e2e/localeTest_es.html
@@ -6,13 +6,13 @@
<script src="../../build/angular.js"></script>
<script src="../../build/i18n/angular-locale_es.js"></script>
<script>
- function AppCntl(){
- this.input = 234234443432;
+ function AppCntl($scope){
+ $scope.input = 234234443432;
}
</script>
</head>
- <body ng:controller="AppCntl">
- <input type="text" ng:model="input" value="234234443432"><br>
+ <body ng-controller="AppCntl">
+ <input type="text" ng-model="input" value="234234443432"><br>
date: {{input | date:"medium"}}<br>
date: {{input | date:"longDate"}}<br>
number: {{input | number}}<br>