I'm using scopeless directives (https://github.com/johnpapa/angularjs-styleguide#directives-and-controlleras).
<directive1>
<directive2></directive2>
</directive2>
In outer directive1
I've got controllerAS: 'vm'
with var vm=this; vm.test="test from directive1"
in it.
Inner directive2
has scope: false, controllerAs: 'vm2', bindToController:true
How from directive2
get directive1
vm.test
data? I want to use it in controller - not HTML view