This chapter we will introduce AngularJS Routing everyone.
AngularJS Routing allows us to a different URL to access different content.
Can be achieved by a multi-view AngularJS single-page Web applications (single page web application, SPA).
Our URL is usually in the form of http://runoob.com/first/page , but in the one-page Web applications AngularJS by # + mark! Realize, for example:
When we click on any of the more than one link, please address to the server are the same (http://runoob.com/). Because the content after the #! Number in the request to the server will be ignored by the browser. So we need to implement the client #! Function behind the content of the number achieved. AngularJS route on the adoption of the + mark #! Help us distinguish between different logical page and separate pages bound to the corresponding controller.
123455