Demo project for angular SPA pratice
change the branch to see the different versions of this demo project.
#html pages(total 4)
- index.html is my landing page.
- i made another 3 pages that will be reused for routing purpose.
- "/" in the index.js shows the default home page of my SPA, which is Home.html.
- Then we can route to another 2 pages called VALIDATION-FORM.html and about.html .
- In VALIDATION-FORM.html we can store data to our browser local storage, you can check that.
- in about.html the is 1 paragraph about the school.
#.js page(1 page)
-
i used app.config for the purpose of routing to different pages.
-
then i used app.controller for the validation and storage of inputs from VALIDATION-FORM.html .
thank you.