diff options
| author | Misko Hevery | 2011-11-10 18:47:47 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:18 -0800 |
| commit | b09595a3c12ba761772084b94767b635c5bbfaf2 (patch) | |
| tree | a86f45599ee86964ea2bd09e5c336280ef98a769 /src/directives.js | |
| parent | f6d98f1472338a77b2f146087bcb8560f472e5d1 (diff) | |
| download | angular.js-b09595a3c12ba761772084b94767b635c5bbfaf2.tar.bz2 | |
fix(doc) cleanup all api doc link warnings
Diffstat (limited to 'src/directives.js')
| -rw-r--r-- | src/directives.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directives.js b/src/directives.js index 9361f08f..d6407dfd 100644 --- a/src/directives.js +++ b/src/directives.js @@ -106,7 +106,7 @@ angularDirective("ng:init", function(expression){ * * Controller — The `ng:controller` directive specifies a Controller class; the class has * methods that typically express the business logic behind the application. * - * Note that an alternative way to define controllers is via the `{@link angular.service.$route}` + * Note that an alternative way to define controllers is via the `{@link angular.module.NG.$route}` * service. * * @element ANY @@ -138,7 +138,7 @@ angularDirective("ng:init", function(expression){ this.contacts.push({type:'email', value:'yourname@example.org'}); }, removeContact: function(contactToRemove) { - angular.Array.remove(this.contacts, contactToRemove); + angular.module.NG.$filter.remove(this.contacts, contactToRemove); }, clearContact: function(contact) { contact.type = 'phone'; |
