Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the app module declaration #2

Open
nikmartin opened this issue Jun 9, 2016 · 0 comments
Open

Question about the app module declaration #2

nikmartin opened this issue Jun 9, 2016 · 0 comments

Comments

@nikmartin
Copy link

I'm curious about this code:

angular.module('popup', [
  'popup.services',
  'popup.controllers'
]);

Where does the dotted notation for the module dependencies come from, and what does it reference? There are no modules named 'services' or 'controllers', only folders inside /app that bear those names. Is this some type of folder level dependency injection I'm not aware of, or is this a bug? It doesn't actually seem to need any dependency injections, since the Controller is defined inside popup.html:

 <div ng-controller="MainController">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant