aboutsummaryrefslogtreecommitdiffstats
path: root/example/personalLog/personalLog.html
diff options
context:
space:
mode:
authorIgor Minar2010-10-23 16:25:53 -0700
committerIgor Minar2010-10-23 16:25:53 -0700
commit4fc21414581be1825a7ffb5cfda98eda501652d0 (patch)
tree59a59dd20979e01d0233b57f5453446cf093f8d3 /example/personalLog/personalLog.html
parent5b40e87ac687fc52ba86f39daf62975b169acf41 (diff)
downloadangular.js-4fc21414581be1825a7ffb5cfda98eda501652d0.tar.bz2
improving the PersonalLog app
- adding jsdocs and comments - logs should be ordered in inverse order
Diffstat (limited to 'example/personalLog/personalLog.html')
-rw-r--r--example/personalLog/personalLog.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/personalLog/personalLog.html b/example/personalLog/personalLog.html
index 85a177e9..64a6115d 100644
--- a/example/personalLog/personalLog.html
+++ b/example/personalLog/personalLog.html
@@ -18,7 +18,7 @@
<hr/>
<h2>Logs:</h2>
<ul>
- <li ng:repeat="log in logs">
+ <li ng:repeat="log in logs.$orderBy('-at')">
{{log.at | date:'yy-MM-dd HH:mm'}} {{log.msg}}
[<a href="" ng:click="rmLog($index)">x</a>]
</li>