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_08.ngdoc | |
| parent | 575f63ac508a988e0c0ecbf93f62ea6f4bab13c0 (diff) | |
| download | angular.js-0f7237d764f37ab9916fc9b8ecb7d8cd5b6adf98.tar.bz2 | |
docs(tutorial): improve wording and consistency
Diffstat (limited to 'docs/content/tutorial/step_08.ngdoc')
| -rw-r--r-- | docs/content/tutorial/step_08.ngdoc | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/docs/content/tutorial/step_08.ngdoc b/docs/content/tutorial/step_08.ngdoc index 503b4347..5075be98 100644 --- a/docs/content/tutorial/step_08.ngdoc +++ b/docs/content/tutorial/step_08.ngdoc @@ -61,8 +61,8 @@ the same way as the phone list controller.  __`app/js/controllers.js`:__  <pre> -var myApp = angular.module('myApp',[]); -myApp.controller('PhoneDetailCtrl', ['$scope', '$routeParams', '$http', function($scope, $routeParams, $http) { +var phonecatApp = angular.module('phonecatApp',[]); +phonecatApp.controller('PhoneDetailCtrl', ['$scope', '$routeParams', '$http', function($scope, $routeParams, $http) {    $http.get('phones/' + $routeParams.phoneId + '.json').success(function(data) {      $scope.phone = data;    }); @@ -132,7 +132,7 @@ __`test/unit/controllersSpec.js`:__        $routeParams.phoneId = 'xyz';        scope = $rootScope.$new(); -      ctrl = $controller(PhoneDetailCtrl, {$scope: scope}); +      ctrl = $controller('PhoneDetailCtrl', {$scope: scope});      })); | 
