I have a large angularjs application. I'm curious what the 'angular way' is to organize such a complex application. Worth noting I'm also using RequireJS.
The page structure looks like:
- Administration
- Users
- System
- Tickets
- Search
- Dashboard
currently I have it organized something like:
/.
app.js
main.js
/views
administration.html
/administration
/users
...
ticket.html
/ticket
/text
/list
search.html
/search
basic.html
stats.html
dashboard.html
/dashboard
cards.html
/controllers
search.js
tickets.js
administration.js
/administration
users.js
system.js
...
/servies
search.js
ticket.js
admin.js
/directives
chart.js
input.js
select.js
/lib
/angular
/d3
...
Any thoughts?
lazy-registrycreation, but it is not that complicated anyway.