C
chamberlen.betat@mckee.com
Guest
Hello, I am trying to do simple two way binding in a blank view but am unable to get it to work. In my blank view's controller.public.js I have: class MyTestsTestCtrl extends BaseController { constructor($scope, $injector, stateData) { super($scope, $injector); $scope.name = "John"; $scope.myFunction = function(){ console.log($scope.name); } } In the topSection.html I have: {{name}} click me to view console When I change the name in the input it is not being reflected in the $scope.name variable. However, when not using KUIB I can do two way binding like this and it works as expected: {{name}} click me to view console Am I missing something on the KUIB side to make it work?
Continue reading...
Continue reading...