Module routes:
var switchModule = angular.module(\'switchModule\', []); switchModule.config([\'$routeProvider\', function($routeProvider) { $routeProvid
A controller can be added to more than one element of the DOM, so this problem can occur if this has been done e.g. :
....