pageRouteInit.push(function ($routeProvider, $locationProvider) {
$routeProvider.when('/example-ui/foo', {
template: '<div><h2>Foo</h2><p>Welcome to the foo.</p></div>',
controller: PageFoo
});
function PageFoo($scope, $http) {
}