diff options
| author | Pete Bacon Darwin | 2013-10-03 11:58:47 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-10-03 11:58:47 +0100 | 
| commit | 0f7237d764f37ab9916fc9b8ecb7d8cd5b6adf98 (patch) | |
| tree | 9c28d15b5790e3db4a4ccc47903909b980fa68bb /docs/content/tutorial/step_07.ngdoc | |
| parent | 575f63ac508a988e0c0ecbf93f62ea6f4bab13c0 (diff) | |
| download | angular.js-0f7237d764f37ab9916fc9b8ecb7d8cd5b6adf98.tar.bz2 | |
docs(tutorial): improve wording and consistency
Diffstat (limited to 'docs/content/tutorial/step_07.ngdoc')
| -rw-r--r-- | docs/content/tutorial/step_07.ngdoc | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/content/tutorial/step_07.ngdoc b/docs/content/tutorial/step_07.ngdoc index 35f1f920..2dac3ff7 100644 --- a/docs/content/tutorial/step_07.ngdoc +++ b/docs/content/tutorial/step_07.ngdoc @@ -69,7 +69,7 @@ both module systems can live side by side and fulfil their goals.  __`app/js/app.js`:__  <pre> -var myApp = angular.module('phonecat', []). +var phonecatApp = angular.module('phonecatApp', []).    config(['$routeProvider', function($routeProvider) {    $routeProvider.        when('/phones', {templateUrl: 'partials/phone-list.html',   controller: PhoneListCtrl}). @@ -124,7 +124,7 @@ __`app/index.html`:__  __`app/js/controllers.js`:__  <pre>  ... -myApp.controller('PhoneDetailCtrl', ['$scope', '$routeParams', function($scope, $routeParams) { +phonecatApp.controller('PhoneDetailCtrl', ['$scope', '$routeParams', function($scope, $routeParams) {    $scope.phoneId = $routeParams.phoneId;  }]);  </pre> | 
