In this lab, you will write a simple AngularJS Web Application.
Use File - Close All to close all open editing windows.
In RAD, create a new Dynamic Web Project named Lab20Web associated with Lab20EAR.
Your first step is to import the AngularJS script into your workspace. Follow this procedure to import it:
Use Windows Explorer or My Computer to navigate to {Lab Installation Directory}/lib. If your computer has the standard lab setup on Windows 7 or later, this directory is:
c:\Users\username\webclass\lib
You should see the angular.min.js file in that folder.
Size and position Windows Explorer and RAD so you can see both of them at the same time.
In Windows Explorer, right-click on angular.min.js and choose Copy.
In RAD, right-click on your project's WebContent folder and choose Paste to import the file.
Create a new HTML File, hello-angular.js, and in it, create the Hello, World example from the AngularJS chapter.
Create a new HTML File, angular-controller.html, and in it, create the Controller example from the AngularJS chapter.
Create a new HTML File, student.html, and in it:
Create a JavaScript Source File, toppings.js, and in it, define a JSON array of the names of your favorite pizza toppings.
Create an HTML File, toppings.html that queries the toppings using Ajax and displays them in an unordered list.