Hi Kevin!
Like Richi said, you should provide us a plunkr or a jsfiddle to better
understand your problem instead of writing all your code in the message.
Besides that, why don't you try to bind the 'click' event on the element
with the sortable attribute instead of setting the attribute ngClick?
With this, you can pass the function to be called onClick as the value of
the sortable attribute.
Example:
...
scope: {
'sortableFn': '&sortable'
},
link: function (scope, element) {
element.on('click', scope.sortableFn);
...
}
I hope this works and helps you!
Regards,
*Luís Loureiro*
--
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.