AngularJS Expression without ng-app Examples




AngularJS Expression without ng-app Examples

<!DOCTYPE html>
<html>
   <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js">
   </script>
   <body>
      <p>Without the ng-app directive, HTML will display the expression
      as it is, without solving it.</p>
      <div>
         <p>My first expression: {{ 20 + 20 }}</p>
      </div>
   </body>
</html>

Output