Hi Bob,
First of all, welcome!
ng-app without an name is an leftover from long ago, and if I recall
correctly deprecated too. Don't use that.
The name is used to hook up the right module to your app. Once you begin
programming your app in JS, you need a starting point.
That is gonna look something like:
angular.module('myAppName',[])
.component('myMain', myMainComponent());
the myAppName is the name you need to use in your template
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" 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.
For more options, visit https://groups.google.com/d/optout.