Hi Mike, You should move away from controllers and towards components <https://docs.angularjs.org/guide/component>. Doing that alone, will solve a couple of issues you have right away. Then for the binding of tags.names. I assume that's an array. Instead of using an init function, you can use the $attrs.observe from the aforementioned components. By doing that you will end up with something that can look like this: <tags graph-data='tags.names'> <div ng-repeat='name in tags.graphData'>...</div> </tags>
Does this help a tad, or did I confuse you even more? ;) If so, just ask. Regards Sander -- 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.
