Hi Lucian,

1 is possible, but my preference would go to 2.
Did you look at the plunk I made up for you? It clearly shows how the get 
the rating value in the controller!
There are several ways to solve your problem, the easiest is just watching 
the scope variable where the rating is.
another possibility is, define a callback in your directive. I just changed 
the plunk to support this too.

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