I have struggling with an attempt to create my layout framework for spa
applications. I'd like to have a main layout that would consist of tree
main areas: footer, body, and header.
The major problem is the body. I want to be able to load modules into it
that would have their own layout (states/views) as complex as they need. I
am trying following every article I can find that talks about
militarization. I was able to get thru a concept of making modules and
injecting them into a main module, but I cannot achieve my layout goal. can
someone please provide an example of I am looking for?
-------------------------------|
header |
------------------------------ |
|
body |
|
|
-------------------------------|
footer |
-------------------------------|
I want to load a modules into body on a click from a menu sitting in the
header. After a module is loaded I need to be able to load new templates
that currently loaded module needs. States or views for these templates
should define in the module is file, thus main module does need to know
about them.
I am trying to come up with fairly generic solution that cab be easily
understood and maintained. Please share your ideas. Appreciate your help.
Thanks
--
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/d/optout.