• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Web technologies Questions | AngularJS Quiz | Set-3 | Question 15

What is the output of the below code snippets:

<html>
     <head>
    <title>AngularJS ng-app Directive</title>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js">
    </script>
   </head>

    <h2>ng-app directive</h2>
     
    <div ng-app="" ng-init="name='Angular'">
        <p>{{ name }} is framework of Javascript</p>
    </div>
</body>
 </html>
 
 

(A)

name is a framework of Javascript

(B)

{{ is framework of Javascript }}

(C)

Angular is the framework of Javascript

(D)

Type Error.

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments