In Angular 1.2, ngRoute is a separate module so you can use other community routers like ui.router instead.
ngRoute
ui.router
I\'m writing an open-source mod
AngularJS 1.6.3 and up has a way to check if a module is loaded via the $injector service.
Also added in 1.6.7 was the ability to load new modules which may be of interest to some.