Single
page application is a trick to show multiple pages without refreshing
the default page. For an example let's discuss about a Corporate portal.
Here we have various tabs like About Us, Contact Us, Services or
Products. What we required is on click over above tabs we will show
respective html pages in a div or span.
You must remember those days when the same we do using JavaScript innerHTML attribute. This problem was solved in AngularJS using ng-view & routing.
What is router?
In networking Router is a device which helps to route user requests respective of information. The same concept AngularJS router do. While user click on the tab it updated browser URL. Followed by this router routes ng-view to respective HTML page. Here ng-view work like a container. Look at this example http://jharaphula.com/example-of-using-angularjs-routing it will give you the basic idea how to design Single page application using AngularJS.
Would you like more examples in AngularJS. Learn AngularJS with examples here http://jharaphula.com/category/programming-solutions/learn-angularjs-with-examples
Happy Programming!
You must remember those days when the same we do using JavaScript innerHTML attribute. This problem was solved in AngularJS using ng-view & routing.
What is router?
In networking Router is a device which helps to route user requests respective of information. The same concept AngularJS router do. While user click on the tab it updated browser URL. Followed by this router routes ng-view to respective HTML page. Here ng-view work like a container. Look at this example http://jharaphula.com/example-of-using-angularjs-routing it will give you the basic idea how to design Single page application using AngularJS.
Would you like more examples in AngularJS. Learn AngularJS with examples here http://jharaphula.com/category/programming-solutions/learn-angularjs-with-examples
Happy Programming!
Examples are the best way to learn AngularJS. Assume you already know JAVASCRIPT, then what more you required? Only Examples are good enough to get basics of AngularJS. Look at this link Learn AngularJS with Examples here I collected all the fundamentals of AngularJS. its easy n fun to learn.
ReplyDeleteSEO Tips to improve Site ranking https://bit.ly/3rp3yPd
ReplyDeleteWays to invest for Child Education https://bit.ly/3FAjmDL
Developing a GYM Business https://bit.ly/3A9nE3Y
Ultimate Guide to Face Serums https://bit.ly/3FHnm5y
How to Control Anger? https://bit.ly/3A5xXFU
Popular Beaches in Florida https://bit.ly/3fBKsQ4
Health benefits of Bananas https://bit.ly/3gcslRj
Blog Posting Opportunity with our 5 premium Blogs | DA 65+
ReplyDeletehttps://jharaphula.neocities.org
https://vedamalhar.com
https://jhponestop.wordpress.com
https://vedamalhar.livejournal.com
https://vedamalhar.medium.com