From f9ef20aad4234edc752dd8565b99600e2dc82e3e Mon Sep 17 00:00:00 2001 From: ColinFletch Date: Sun, 19 Jul 2015 11:33:53 -0400 Subject: [PATCH] docs(guide/Controllers: Spiffy new Syntax Syntax adjustments. --- docs/content/guide/controller.ngdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/guide/controller.ngdoc b/docs/content/guide/controller.ngdoc index 2f85d70f0ad3..c307555153bf 100644 --- a/docs/content/guide/controller.ngdoc +++ b/docs/content/guide/controller.ngdoc @@ -109,7 +109,7 @@ needed for a single view. The most common way to keep Controllers slim is by encapsulating work that doesn't belong to controllers into services and then using these services in Controllers via dependency injection. -This is discussed in the {@link di Dependency Injection} {@link services +This is discussed in the {@link di Dependency Injection} and {@link services Services} sections of this guide. @@ -165,7 +165,7 @@ scope is augmented (managed) by the `SpicyController` Controller. starts with capital letter and ends with "Controller". - Assigning a property to `$scope` creates or updates the model. - Controller methods can be created through direct assignment to scope (see the `chiliSpicy` method) -- The Controller methods and properties are available in the template (for the `
` element and +- The Controller methods and properties are available in the template (for both the `
` element and its children). ## Spicy Arguments Example @@ -305,7 +305,7 @@ describe('myController function', function() { ``` -If you need to test a nested Controller you need to create the same scope hierarchy +If you need to test a nested Controller you must create the same scope hierarchy in your test that exists in the DOM: ```js