diff options
| author | Sahat Yalkabov | 2012-08-01 16:43:11 -0400 |
|---|---|---|
| committer | Misko Hevery | 2012-08-30 21:34:43 -0700 |
| commit | 2583e77cc75eda77bd585dfad8712b3c39b3bafb (patch) | |
| tree | e2c4a1a3ca762ad14f91c1823ffbe9b4bdf5c5f0 /docs/content/guide | |
| parent | f66836fee40ba99008bf9d86a4dd9654b622f105 (diff) | |
| download | angular.js-2583e77cc75eda77bd585dfad8712b3c39b3bafb.tar.bz2 | |
doc(module) changed simpleApp to myApp in the Module page guide for consistency
Diffstat (limited to 'docs/content/guide')
| -rw-r--r-- | docs/content/guide/module.ngdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/guide/module.ngdoc b/docs/content/guide/module.ngdoc index d3c0b8ee..42c9f3aa 100644 --- a/docs/content/guide/module.ngdoc +++ b/docs/content/guide/module.ngdoc @@ -27,15 +27,15 @@ Important things to notice: * Notice the reference to the `myApp` module in the `<html ng-app="myApp">`, it is what bootstraps the app using your module. -<doc:example module='simpleApp'> +<doc:example module='myApp'> <doc:source> <script> // declare a module - var simpleAppModule = angular.module('simpleApp', []); + var simpleAppModule = angular.module('myApp', []); // configure the module. // in this example we will create a greeting filter - simpleAppModule.filter('greet', function() { + myAppModule.filter('greet', function() { return function(name) { return 'Hello, ' + name + '!'; }; |
