Hi all,
I am writing in reference to this StackOverflow post<http://stackoverflow.com/questions/23173069/angularjs-a-table-directive-with-cell-templates>. The general idea is that I would like to write a tabular directive that generates a <table>...</table>, where the contents of each cell are based on (1) the data relevant to that cell, (2) an angular template passed via attributes to the tabular directive, and (3) context available in the $scopeof the controller _outside of the tabular directive. For example, take this JSFiddle <http://jsfiddle.net/Hd8p9/>. I define a template containing a country directive and an array of country ids to the tabulate directive. Each country corresponds to one <tr> element, which I would like to contain the template rendered with {{ flags }} taken from myController and {{ cellData }} somehow passed via tabulate. Short of pairing the country directive with a service, is there a way I can get this functionality? 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.
