Hi Jan Willem,

I see you are on the right path. You are building directives that are 
directly solving your current issues. That is great.
But I’ll give you this thought:

scope.$watch('selectedLanguageFunction', function(){
    element.scooch('reset');
})

What will happen if you want to reuse your carousel in a setting where 
there is a different trigger then selectedLanguageFunction?

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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to