From 2918af822eca485ada9672176cd05b9521078b19 Mon Sep 17 00:00:00 2001 From: Joseph Jacobs Date: Fri, 23 Nov 2018 09:49:11 -0800 Subject: [PATCH] Updating tutorial with clarification for the naming conventions --- docs/content/tutorial/step_03.ngdoc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc index e7a16de54bd0..96a87c7027c7 100644 --- a/docs/content/tutorial/step_03.ngdoc +++ b/docs/content/tutorial/step_03.ngdoc @@ -88,6 +88,21 @@ Let's see an example: }); ``` +```html + + + + + + + + + + + + + +``` Now, every time we include `` in our view, AngularJS will expand it into a DOM sub-tree constructed using the provided `template` and managed by an instance of the specified controller. @@ -127,7 +142,7 @@ acquired skill. - + //This is what calls the phoneList angular.js component @@ -148,7 +163,7 @@ angular.module('phonecatApp', []); // Register `phoneList` component, along with its associated controller and template angular. module('phonecatApp'). - component('phoneList', { + component('phoneList', { // This is what defines the html element template: '