From 89f2dbd448dcdd70fff3b71edd459f1a4e754e7f Mon Sep 17 00:00:00 2001 From: IamAnn Date: Tue, 11 Mar 2014 10:28:24 +0800 Subject: [PATCH] Update concepts.ngdoc wrong ng-app here, it should be ng-init --- docs/content/guide/concepts.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc index 63ec1bcfde4f..a3c0d62fa57a 100644 --- a/docs/content/guide/concepts.ngdoc +++ b/docs/content/guide/concepts.ngdoc @@ -60,7 +60,7 @@ The loaded, transformed and rendered DOM is then called the "view The first kind of new markup are the so called "{@link directive directives}". They apply special behavior to attributes or elements in the HTML. In the example above we use the -{@link ng.directive:ngApp `ng-app`} attribute, which is linked to a directive that automatically +{@link ng.directive:ngApp `ng-init`} attribute, which is linked to a directive that automatically initializes our application. Angular also defines a directive for the {@link ng.directive:input `input`} element that adds extra behavior to the element. E.g. it is able to automatically validate that the entered text is non empty by evaluating the `required` attribute.