I have a directive, here is the code :
.directive(\'map\', function() { return { restrict: \'E\', replace: true, template: \'<
Maybe this is not the best choice, but you can do angular.element("#element").isolateScope() or $("#element").isolateScope() to access the scope and/or the controller of your directive.
angular.element("#element").isolateScope()
$("#element").isolateScope()