← BYTES
AngularJS·Starter·Ref: 5.1.1
What does the ng-app directive do?
Have a question about this video? Mention reference 5.1.1 when you contact us.
a.It imports AngularJS from a CDN
b.It bootstraps and designates the root element of an AngularJS application
c.It defines a controller function
d.It creates a two-way data binding
ng-app tells AngularJS which element is the root of the application -- AngularJS auto-bootstraps and compiles everything inside that element (and only that element) when the page loads.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES511#AngularJS