← BYTES
AngularJS·Starter·Ref: 5.1.7
What does angular.module("myApp", []) create?
Have a question about this video? Mention reference 5.1.7 when you contact us.
a.A single controller
b.A CSS stylesheet
c.A database connection
d.A new AngularJS module named 'myApp' with no other module dependencies
angular.module(name, requires) is how you define (when a dependency array is given) or retrieve (when it's omitted) a module -- the empty array here means this module has no dependencies on any other AngularJS modules.
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#BYTES517#AngularJS