Within my $scope in angularJS, I am working with two types of variables.
1). $scope.name and $scope.title are linked to input boxes in the UI html code.
2). On the other hand, $scope.sum and $scope.difference are internally used within my JS code. I need these as global variables for accessibility across different functions.
Concern: Will the $scope.$watch function be triggered for the second type of variables? Could these variables potentially have a negative impact on the performance of my page?