Hi Sander,
Thank you so much!
Pat
On Monday, March 21, 2016 at 11:34:58 PM UTC-5, Sander Elias wrote:
>
> Hi Pat,
>
> You can read from an input element that has an ng-model (well after it is
> processed), but setting it will lead to issues. You better do that in your
> controllers/components.
>
> var elem=document.querySelector('[ng-model="username"]')
> console.log(elem.value)
>
>
> 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.