You can pass the eventData along with the PubSub notification. Refer: http://stackoverflow.com/questions/14502006/working-with-scope-emit-and-on
On Wed, Mar 25, 2015 at 10:50 AM, Antonio Gil <[email protected]> wrote: > Ok.... !!, but, How I pass the value to the "validation(value)" in > directive? > > Thanks!! > > El miércoles, 25 de marzo de 2015, 14:43:55 (UTC+1), Rishi Tandon escribió: >> >> You can use the PubSub notification such as: >> On on-select event, use $emit and then on your respective controller, >> use $scope.$on and then call validate() >> >> On Wed, Mar 25, 2015 at 5:38 AM, Antonio Gil <[email protected]> wrote: >> >>> Hi!! >>> >>> How I can validate an input text when the on-select event of a ui-select >>> is fired? >>> >>> Thanks! >>> >>> -- >>> 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. >>> >> >> >> >> -- >> *Rishi Tandon* >> Pearson Learning Technology Group >> >> Mobile: (310) 926-9032 >> >> Pearson >> Always Learning >> Learn more at www.pearson.com >> > -- > 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. > -- *Rishi Tandon* Pearson Learning Technology Group Mobile: (310) 926-9032 Pearson Always Learning Learn more at www.pearson.com -- 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.
