aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial/step_10.ngdoc
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-10-03 11:58:47 +0100
committerPete Bacon Darwin2013-10-03 11:58:47 +0100
commit0f7237d764f37ab9916fc9b8ecb7d8cd5b6adf98 (patch)
tree9c28d15b5790e3db4a4ccc47903909b980fa68bb /docs/content/tutorial/step_10.ngdoc
parent575f63ac508a988e0c0ecbf93f62ea6f4bab13c0 (diff)
downloadangular.js-0f7237d764f37ab9916fc9b8ecb7d8cd5b6adf98.tar.bz2
docs(tutorial): improve wording and consistency
Diffstat (limited to 'docs/content/tutorial/step_10.ngdoc')
-rw-r--r--docs/content/tutorial/step_10.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/tutorial/step_10.ngdoc b/docs/content/tutorial/step_10.ngdoc
index b612d996..9e629861 100644
--- a/docs/content/tutorial/step_10.ngdoc
+++ b/docs/content/tutorial/step_10.ngdoc
@@ -25,8 +25,8 @@ GitHub}:
__`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;
$scope.mainImageUrl = data.images[0];