<!DOCTYPE html>
<html lang="en-US">
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body>
<div ng-app="">
<p>Name : <input type="text" ng-model="name"></p>
<h1>Hello {{name}}</h1>
<p>sum={{ 5 + 5}}</p>
</div>
<div data-ng-app="">
<p>sum={{ 5 + 5}}</p>
</div>
</body>
</html>
i dont know why it showing different output
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/f66b643e-9ecb-4861-b335-4bdadb46a929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.