angularjs - Isolated scope access other scope -


i have directive isoleted scope, in scope property of directive put code:

parentcontroller: "=" 

in html of custom directive put:

< my-directive data-parent-controller="controllername.controller">

in controller have variable controller receive "this" value.

app.controller('myctrl', function(){     this.controller = this;     this.screenobject = {}; }); 

in directive need renderize tag element like:

<pre> < input type="text" data-ng-model="directive.parentcontroller.screenobject.property /> </pre> 

when change value of element other not change.

this possible ? if possible, can have ?

obs: screenobject have properties use in screen like:

 screenobject.code 
 screenobject.descryption 


Comments