I have one component that will be loaded on three different routes but each route has a different DataModel. So I need to decide in my component which model to use.
Now from my perspective it would be much easier if the routeConfig holds the model and then the model decides which component to load. So if I have three different DataModels they can all include the same component. Does this make sense? Any ideas on that? -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
