In this example, we will see the sum of two values val1 and val2 and display the result without using ng-app directive. See the code snippet:
ng-app