Ho appena notato che sto codificando cose del genere:
<input type="text" ng-model="userName" id="userName" name="userName" />
E mi viene in mente che ho accesso ai dati tramite ng-data . Non userò mai getElementById() o getElementsByName() .
I id= e name= ingombrano il mio codice HTML, o potrei averne bisogno?
[Aggiornamento] potrebbero essere di qualche utilità per i test automatici?