pageRouteInit.push(function ($routeProvider, $locationProvider) {
$routeProvider.when('/example-ui/foo', {
templateUrl: '/example-ui/thtml/foo',
controller: PageFoo
});
function PageFoo($scope, $http) {
}