I\'m looking for any manner of accessing the \"parent\" scope within a directive. Any combination of scope, transclude, require, passing in variables (or the scope itself)
Having tried everything, I finally came up with a solution.
Just place the following in your template:
{{currentDirective.attr = parentDirective.attr; ''}}
It just writes the parent scope attribute/variable you want to access to the current scope.
Also notice the ; '' at the end of the statement, it's to make sure there's no output in your template. (Angular evaluates every statement, but only outputs the last one).
It's a bit hacky, but after a few hours of trial and error, it does the job.