Hello
I'm new to angular, and looking advices for my app.

I'm looking for good ways to implement navigation, amd, etc
There will be > 50 "separate" modules and i decided to use tree structure 
for navigation. Something like: 
http://ngmodules.org/modules/angular.treeview
Esach module will have 1-5 views and 0-3 partial. 

How I should organize folder structure, routing and amd (looking at 
require.js now)?
Now I have:
/app
    /scripts
        /module1 (here for simplicity, i use proper module names)
        /module2
        /module3
...
but with 50, it is already quite big... And I realized that few partials, 
controllers and model will be used by multiple nodes. Where I should move 
them?
Also I don't want to put all routing in one class, but at least define them 
by tree rout folder (3-6 total). 
Also it should be easy to share url, so another user could see same view 
(would be nice, to include part of model, to fill several 
checkboxes/selects).

And as user will use about 10% of app content per session, i think loading 
all scripts every time would not be good. So amd? requirejs?

I wonder may be someone have good example, where all these cases are 
solved/explained?

PS: it will be html5-only application (so i don't care about old browsers, 
hell yeah! :D).
PPS: It would take few month to build that app, so I don't mind using very 
latest versions of angularjs or other libs. 

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to