如果我将一个函数绑定到$ scope,我怎么能在一个手表中重新运行它?
if($scope.current){
$scope.$watch('current.new', function (newValue, oldValue, scope) {
// how to rerun formvalidation function here
});
}
$scope.formvalidation = function () { //.. }