2👍
✅
You dont have to declare the module again, use the same module with two different controllers,
angular.module("app").controller("barCtrl", function ($scope, $http) {
}
Source:stackexchange.com