Module
In angular you can have a sort of main module that you add your configuration too.
This module will be injected with all of the other modules you create as well as modules like NgRoute. Here is an example of a main module in my angular app, full source here
var app = angular.module("myApp", [
'ui.bootstrap',
'ngAnimate',
'myAppRouter',
'myAppHomeCtrl',
'myAppHomeService',
'myAppNavbarDirective',
'myAppNavbarService',
'myAppLoginCtrl',
'myAppLoginService'
]);
//This config is used to remove the # in the html
app.config(["$locationProvider", function($locationProvider) {
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});
}]);
The above shows config on my Main module to get my URLs to look correct.