Opinions ahead. I'm no expert. You should look at ui-router for sure. It's like fifteen times more useful than ngRouter. I use it to define nested views, which can be swapped out dynamically. So I define a header, body, and footer on the / route, and then can say "in these subroutes, use the three-column template for body, and in those subroutes, use the wide-right template", and then on the sub-subroutes, populate the left/middle/right views of the included three-column template. Our body templates (and the whole thing really) are built on reasonably-responsive defaults from twitter bootstrap, so the three-column view turns into a very long one-column view on a phone, for example (with a nav menu for quick movement within the column)/
>From there, you should also work with custom directives to display each data type, rather than just using ngInclude (IMO at least). Modeling each data type as a custom element means you can encapsulate the view and edit modes within the element for in-place editing. e On Wed Nov 19 2014 at 10:22:24 PM Rob <[email protected]> wrote: > I should maybe also add that different user groups see different screens > (what they see and how it's arranged). In addition, there are also field > securities. Hence, the views will not be 'hard coded' but have to be > dynamically generated from some kind of description. > > -- > 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. > -- 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.
