javascript - AngularJS custom directive two way data binding -
i new angular.js , trying make custom directive(which has controller functions in it) linked controller. when object in controller($scope.myobj), changes have similar object in directive controller changes same way. in addition possible invoke function/scope method declared in directive controller, basic controller(or invoke function directive controller when object basic controller has changed.) ?
aviv ben-yosef writes pretty nice post on http://www.codelord.net hooks controller isolated directive scope:
Comments
Post a Comment