I'm new in angularjs write this code:
<ng-input theme='fumi' id='txtEmail' label='پست الکترونیک' icon='icon icon--fumi mdi mdi-select-all' style="font-size:medium;width:40%;"></ng-input>
and try to read that value with jquery with this way:
var EmailPattern = $('#txtEmail').val();
alert(EmailPattern);
but alert show me null value,how can i solve that problem?thanks all.
ng-inputdirective?ng-modelon form controls. Note that<ng-input>can't have a value, it's not a form control. Show all relevant code