aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial/step_09.ngdoc
diff options
context:
space:
mode:
authorMisko Hevery2011-11-10 18:47:47 -0800
committerMisko Hevery2011-11-14 20:31:18 -0800
commitb09595a3c12ba761772084b94767b635c5bbfaf2 (patch)
treea86f45599ee86964ea2bd09e5c336280ef98a769 /docs/content/tutorial/step_09.ngdoc
parentf6d98f1472338a77b2f146087bcb8560f472e5d1 (diff)
downloadangular.js-b09595a3c12ba761772084b94767b635c5bbfaf2.tar.bz2
fix(doc) cleanup all api doc link warnings
Diffstat (limited to 'docs/content/tutorial/step_09.ngdoc')
-rw-r--r--docs/content/tutorial/step_09.ngdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc
index 7d8e3430..6378b78e 100644
--- a/docs/content/tutorial/step_09.ngdoc
+++ b/docs/content/tutorial/step_09.ngdoc
@@ -25,11 +25,11 @@ GitHub}:
## Custom Filter
In order to create a new filter, simply register your custom filter function with the {@link
-api/angular.filter `angular.filter`} API.
+api/angular.module.NG.$filter `angular.module.NG.$filter`} API.
__`app/js/filters.js`:__
<pre>
-angular.filter('checkmark', function(input) {
+angular.module.NG.$filter('checkmark', function(input) {
return input ? '\u2713' : '\u2718';
});
</pre>
@@ -82,8 +82,8 @@ __`test/unit/filtersSpec.js`:__
describe('checkmark filter', function() {
it('should convert boolean values to unicode checkmark or cross', function() {
- expect(angular.filter.checkmark(true)).toBe('\u2713');
- expect(angular.filter.checkmark(false)).toBe('\u2718');
+ expect(angular.module.NG.$filter.checkmark(true)).toBe('\u2713');
+ expect(angular.module.NG.$filter.checkmark(false)).toBe('\u2718');
});
})
</pre>
@@ -99,7 +99,7 @@ output.
# Experiments
-* Let's experiment with some of the {@link api/angular.filter built-in angular filters} and add the
+* Let's experiment with some of the {@link api/angular.module.NG.$filter built-in angular filters} and add the
following bindings to `index.html`:
* `{{ "lower cap string" | uppercase }}`
* `{{ {foo: "bar", baz: 23} | json }}`