@ngdoc tutorial @name 0 - Bootstrapping @step 0 @description
In angular-phonecat directory, run this command:
git checkout -f step-0
This resets your workspace to step 0 of the tutorial app.
You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. This will cause any changes you made within your working directory to be lost.
node ./scripts/web-server.js to start the web server.angular-phonecat directory.http://localhost:[port-number]/[context-path]/app/index.html.Open Git bash and run this command (in angular-phonecat directory):
git checkout -f step-0
This resets your workspace to step 0 of the tutorial app.
You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. This will cause any changes you made within your working directory to be lost.
node scripts\web-server.js to start the web server.angular-phonecat directory.http://localhost:[port-number]/[context-path]/app/index.html.Nothing here {{'yet' + '!'}}
``` ## What is the code doing? * `ng-app` directive: The `ng-app` attribute represents an Angular directive named `ngApp` (Angular uses `name-with-dashes` for its custom attributes and `camelCase` for the corresponding directives which implement them). This directive is used to flag the html element that Angular should consider to be the root element of our application. This gives application developers the freedom to tell Angular if the entire html page or only a portion of it should be treated as the Angular application. * AngularJS script tag: