This example shows setting up a small application with 3 routes, each with it's own view and controller, using the controllerAs syntax.
We configure our router at the angular .config function
We inject $routeProvider into .config
We define our route names at the .when method with a route defini...