This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
concepts.ngdoc text refers to ng-app, but snippet uses ng-init #6482
Closed
Description
The text after the first code snippet in http://docs.angularjs.org/guide/concepts says
In the example above we use the ng-app attribute, which is linked to a directive that automatically initializes our application.
but the snippet actually uses ng-init instead, which is confusing, especially since ng-init isn't mentioned anywhere in the text.