EDIT I was searching for something like this. Combined with suggestions on this post I am now using a binding combined with an expression.
<my-component data="{{data}}">{{data}}</my-component>
Is it possible to pass a controller scope via data binding? My processing controller should get the scope like this:
bindings: {
scope: '<'
}
I want to pass a directive with data from the first controller, and this information should be shown in my new component.. First controller has data, and I want to pass it in the template like this:
<my-component>{{scope.data}}</my-component>