Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    The reason this is needed is because if you don't supply a module name as the value for the ng-app attribute, Angular only bootstraps the included core ng module. Since the OP defined the Ctrl controller in their own custom module, they had to specify to load their module as well as the ng one (which gets loaded automatically regardless of whether you specify it or not). Commented Jul 23, 2015 at 0:15