From e0e421a71e985bfb917844aec30f61d824713820 Mon Sep 17 00:00:00 2001 From: Joseph Jacobs Date: Fri, 23 Nov 2018 10:55:24 -0800 Subject: [PATCH 1/7] Update step_03.ngdoc --- docs/content/tutorial/step_03.ngdoc | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc index ab8179b849a8..727cf6309c4e 100644 --- a/docs/content/tutorial/step_03.ngdoc +++ b/docs/content/tutorial/step_03.ngdoc @@ -88,6 +88,19 @@ 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 +140,7 @@ acquired skill. - + // This is what calls the phoneList angular.js component @@ -148,7 +161,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: '