Let us understand "ng-bind" with the example of addition of two numbers, In this example, We are taking two variables val1 and val2 and assigning them 5 and 3 as $scope.val1 = 5; $scope.val2 = 3;
We want to show addition of these numbers in span tag and here is how we use "Ng-bind" ng-bind="val1+val2"