Hey all, Just put ng2 on a new intranet project so I can get started (yes, yes, I know it's alpha :) ) I'm a little confused as to how page composition can work in the case of multiple sections with different base templates.
E.g.: - index.html: bootstrap app - /blog - BlogComponent which includes a basic HTML container for, say, blog content -- PostComponent for rendering a post - /admin - AdminComponent which is a dashboard-style page -- MenuComponent -- PageComponent for each page rendered on the content part of the dashboard So: 1. How can BlogComponent and AdminComponent render completely different HTML even though they are bootstrapped from the same index.html? Or is that impossible and I'd have to serve different index.html files? 2. How can a part of the page (as in the case of /admin) be *dynamically* occupied by a component? Thanks Georgios -- 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.
