diff options
| author | Misko Hevery | 2011-10-07 11:27:49 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-11 11:01:46 -0700 | 
| commit | fd822bdaf9d04e522aaa5400b673f333190abe98 (patch) | |
| tree | 451cd26d3f7da862692d6c56e6e8f235824c180a /docs/content/tutorial | |
| parent | 4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff) | |
| download | angular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2 | |
chore(formating): clean code to be function() {
Diffstat (limited to 'docs/content/tutorial')
| -rw-r--r-- | docs/content/tutorial/step_02.ngdoc | 4 | ||||
| -rw-r--r-- | docs/content/tutorial/step_04.ngdoc | 2 | ||||
| -rw-r--r-- | docs/content/tutorial/step_11.ngdoc | 2 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc index 4e1abfad..09065979 100644 --- a/docs/content/tutorial/step_02.ngdoc +++ b/docs/content/tutorial/step_02.ngdoc @@ -69,7 +69,7 @@ view.  ## Model and Controller  The data __model__ (a simple array  of phones in object literal notation) is instantiated within -the __controller__ function (`PhoneListCtrl`): +the __controller__ function(`PhoneListCtrl`):  __`app/js/controllers.js`:__  <pre> @@ -91,7 +91,7 @@ providing context for our data model, the controller allows us to establish data  the model and the view. We connected the dots between the presentation, data, and logic components  as follows: -* The name of our controller function (in the JavaScript file `controllers.js`) matches the {@link +* The name of our controller function(in the JavaScript file `controllers.js`) matches the {@link  api/angular.directive.ng:controller ng:controller} directive in the `<body>` tag (`PhoneListCtrl`).  * The data is instantiated within the *scope* of our controller function; our template binding  points are located within the block bounded by the `<body ng:controller="PhoneListCtrl">` tag. diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc index d05a8e7c..6426674a 100644 --- a/docs/content/tutorial/step_04.ngdoc +++ b/docs/content/tutorial/step_04.ngdoc @@ -114,7 +114,7 @@ __`test/unit/controllerSpec.js`:__  <pre>  describe('PhoneCat controllers', function() { -  describe('PhoneListCtrl', function(){ +  describe('PhoneListCtrl', function() {      var scope, $browser, ctrl;      beforeEach(function() { diff --git a/docs/content/tutorial/step_11.ngdoc b/docs/content/tutorial/step_11.ngdoc index 3d474583..450bf679 100644 --- a/docs/content/tutorial/step_11.ngdoc +++ b/docs/content/tutorial/step_11.ngdoc @@ -129,7 +129,7 @@ __`test/unit/controllersSpec.js`:__  <pre>  describe('PhoneCat controllers', function() { -  beforeEach(function(){ +  beforeEach(function() {      this.addMatchers({        toEqualData: function(expected) {          return angular.equals(this.actual, expected); | 
