R
Radoslav Kirilov
Guest
Hi, All members of the controller (variable and functions) are available in the custom sections via the 'vm' object which is the controller 'this' object. In order to have two way binding in the custom section you need to modify your code as following {{vm.name}} click me to view console this.name = "John"; this.myFunction = function () { console.log($scope.name); } Best, Rado
Continue reading...
Continue reading...