doc($filter): added $filter documentation

This commit is contained in:
Misko Hevery
2011-11-09 22:02:39 -08:00
parent f0fa5e6376
commit 74fac45f48
10 changed files with 115 additions and 64 deletions

View File

@@ -380,9 +380,9 @@ Doc.prototype = {
dom.h('In JavaScript', function() {
dom.tag('code', function() {
dom.text('angular.filter.');
dom.text('$filter(\'');
dom.text(self.shortName);
dom.text('(');
dom.text('\')(');
self.parameters(dom, ', ');
dom.text(')');
});