I'm new in angularjs (I come from Java, Python, Objective-c) and I'm trying to achieve a modular design. But I don't see how app.js can "import"other modules and then how controllers import other controllers and keep them in separate files.
This is what I want:
/app
/img -- application level images
/css -- application level css
/js
app.js -- the main app module
/modules
/login
/js
controllers.js --controllers for login module
directives.js --directives for login module
/views -- views for login module
/css
/img
loginModule.js -- Main login module definition
/comment
/js
controllers.js --controllers for login module
directives.js --directives for login module
/views -- views for comment module
/css
/img
commentModule.js -- Main comment module definition
...
...
index.html