hey, your problem is very interesting, could you please post a solution?

W dniu wtorek, 10 czerwca 2014 19:18:11 UTC+2 użytkownik Nicolas Iglesias 
napisał:
>
> Well, besides the lack of response lately (I've posted couple of posts 
> this month, and got no reply) I've solved this myself.
>
> Whoever wants details, please let me know.
>
> Is this an active group or it is just an introductory place for beginners?
>
> On Monday, June 9, 2014 7:32:42 PM UTC-3, Nicolas Iglesias wrote:
>>
>> The $watchCollection part is somewhat required, because I'm using this 
>> w/asynchronously loaded items.
>>
>> On Monday, June 9, 2014 7:30:16 PM UTC-3, Nicolas Iglesias wrote:
>>>
>>> Hi Guys
>>>
>>> I really love to investigate and debug, but I'm sure I'm missing a very 
>>> important concept right now.
>>> Please, take a look at http://jsfiddle.net/TyxH8/68/ where you will 
>>> find a directive I'm working on, which uses transclusion to generate a tree.
>>>
>>> I've put a console.log(...) somewhere in the code to show what the 
>>> problem is: when you click on a "leaf" node (w/o children), the "ng-click" 
>>> event is triggered once. Right. But, when clicking on a node which has 
>>> "childrens", the "ng-click" event gets called twice (you'll see in the log 
>>> 2 different timestamp, but same node).
>>>
>>> I am hoping someone can take a look at the directive's scope as I'm sure 
>>> there might be something very simple that I'm missing.
>>>
>>> I'd love to hear any suggestion.
>>>
>>> Thanks!
>>> Nicolas
>>>
>>

-- 
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.

Reply via email to