In between the two divs you will replace the content with the help of a routing mechanism. To use routing you need to include the angular-route.min.js script in your html page. To load pages into you ng-view use a way with buttons or links that will navigate to another page: My Example:
You will need routing set up in you app module: Here is an example (my app.js):
As you can see the:
in the when part of the router. You will have to pass the template that gets loaded.
The template is not a full HTML page but a html partial. You can also pass a controller to be used in the page partial that gets loaded. You do not have a controller in the page itself.
For instance my About.html looks as following:
A small snip-it indeed !
Do not forget to add the scripts you need in the index.html.
Here is my complete index.html: