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:

http://www.codelord.net/2015/09/02/controller-directive-communication-part-3-controller-to-directive/


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -