Is there any provision in directive to either do two way binding if 
possible , or else do a string parsing. That is, in directive I have three 
options for a field : =, @, &. But for any particular field, any one of 
these options only may be used. My requirement is to have two options for 
same field.
For example I need to have something like this:
app.directive('myDirective', function(){
     return {
          scope: {
               model1: '=',
               string1: '@',
               callback1: '&',
               modelOrString1: '=/@',
          }
     }
});

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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.

Reply via email to