I am just getting started with Angular 4 and I like the idea of discrete reusable components. I am trying to see if am also able to reduce the amount of repeated code that I write.
As an example. Lets say I have a suppliers component, with a supplier-table.component.ts that provides a sortable and searchable table for my suppliers. I may want to include that table in different parts of my site, but depending on what page the user is on, I want to trigger a different function when the user clicks a supplier name. Any ideas? -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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.
