From ab02e8a3a3de703bbf1ed8ef982c0f69549da691 Mon Sep 17 00:00:00 2001 From: Rohit Bind Date: Tue, 23 Aug 2016 12:11:35 +0530 Subject: [PATCH] docs(tutorial/3 - Components): describe your change... In line no 71 and 72 `camelCase` is directive name and in HTML the it is said that it should be kebab-case where as it should be 'camel-case'. I felt that beginners who is trying to learn from tutorial can get confused. --- docs/content/tutorial/step_03.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc index 047a5e3649bd..58ec0a9a33ff 100644 --- a/docs/content/tutorial/step_03.ngdoc +++ b/docs/content/tutorial/step_03.ngdoc @@ -69,7 +69,7 @@ To create a component, we use the {@link angular.Module#component .component()} Definition Object (CDO for short). Remember that (since components are also directives) the name of the component is in `camelCase`, -but we will use `kebab-case`, when referring to it in our HTML. +but we will use `camel-case`, when referring to it in our HTML. In its simplest form, the CDO will just contain a template and a controller. (We can actually omit the controller and Angular will create a dummy controller for us. This is useful for simple