I have used ng-blur and pass data using a function and I couldnot print the value by using console.log in the controller
test.template.html
<div class="col-value">
<input type="text" autofocus="autofocus" style=' box-sizing: border-box; width:50%' ng-blur="saveData()" ng-model="value">%
</div>
test.controller.js
$scope.saveData = function(){
console.log($scope.value);
};
Can someone kindly help me to solve this issue? Thanks inadvance