To illustrate how angularJS enhances standard HTML, we will first create a static HTML page template, and then convert this static HTML page template into an AngularJS template that can be displayed dynamically.
In this step, we add the basic information of the two mobile phones to the HTML page, and use the following command to reset the working directory to step 1.
Please edit the app/index.html file, add the following code to the index.html file, and then run the application to see the effect.
app/index.html
Copy code
Total number of phones: 2