diff options
| author | Vojta Jina | 2011-11-11 17:15:22 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:19 -0800 |
| commit | acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c (patch) | |
| tree | 2483609ada03b9e6ff477596f0402dc24fdd7518 /src/directives.js | |
| parent | 035c7510763a9742294d51ba55aea0b6dd08ea58 (diff) | |
| download | angular.js-acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c.tar.bz2 | |
style(docs): make jslint happy - fix some 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 d6407dfd..f508d40b 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.module.NG.$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.module.NG.$filter.remove(this.contacts, contactToRemove); + angular.module.ng.$filter.remove(this.contacts, contactToRemove); }, clearContact: function(contact) { contact.type = 'phone'; |
