mechanism to talk between mesh topology and map directives. ng-controller cleanup