How to call another scope function in AngularJS -
in angularjs, have 2 scope function in controller,
$scope.fn1 = function(){ //do }; $scope.fn2 = function(){ //do b //i want call fn1 here. };
if fn2 want call fn1, how can do? thanks!
since both functions in same scope can call $scope.fn1()
inside fn2.
Comments
Post a Comment