angular js two way binding contenteditable via scope attribute
Is it not possible to set value from parent scope to contentEditable directive via isolated scope using two-way binding? Code here: http://jsfiddle.net/bharatwaj/3wTd3/5 HTML: <input ng-model="foo" /> <div contentEditable="true" binding-foo="foo" ng-model="input.name" title="Click to edit"></div> <pre>model = {{input.name}}</pre> JS: angular.module('form-example2', []).directive('contenteditable', function () { return { scope: { isolatedBindingFoo: '=bindingFoo' }, require: 'ngModel', link: function (scope, elm, attrs, ctrl) { console.log('isolatedBindingFoo value is ' + scope