How are you setting the timeout function? Are you using $timeout or setTimeout? Maybe your function isnt being executed on the angular digest
On Wed, Jan 6, 2016, 3:52 AM Jyothi Prakash Thaduri < [email protected]> wrote: > I have a situation where I want to show an alert message with form input > values. I set dismiss-on-timeout to alert with 3000 ms, and trying to > clear form fields in script by giving their model values as empty string or > null value. When I do this it clears the form field that is fine, but here > comes the problem, i need to show form fields value in alert message like " > An invitation has been sent to [email protected]". I use ng-model to bind > data in alert, when i clear form automatically email address in alert also > got cleared. Pleas help me with that, and I am new to angularJS. > > -- > 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 https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- *Thiago Delgado* Software Engineer [email protected] | +55 13 99777-0972 https://github.com/thiagodelgado111 -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
