Is there a loosly coupled way to update a parent directive from a dynamically created view/controller that is a child of the parent
In my app I have window instances. The app can contain multiple windows and windows can contain multiple views. The views are children of each window instance. The windows and view creator are directive with an isolated scope. I want the views to be loosely coupled to their parent window and not have to something like $scope.$parent module.directive('window', function() { return { restrict: 'E', replace: true, templateUrl: 'windowTemplate.html', controller: 'windowController', scope: { config: '=' }, link: function(scope, element, attrs) { } }; }); module.directive('view', function($compile,