[Common UI] Specs for edit controllers

Add specs for controllers used to support Edit mode,
one of the common UI elements being transitioned for
WTD-574.
This commit is contained in:
Victor Woeltjen
2014-11-24 17:29:42 -08:00
parent 093ccb637f
commit d7fbd596ef
3 changed files with 100 additions and 0 deletions

View File

@ -20,6 +20,9 @@ define(
setNavigation(navigationService.getNavigation());
navigationService.addListener(setNavigation);
$scope.$on("$destroy", function () {
navigationService.removeListener(setNavigation);
});
}
return EditController;