use ng-model for 2-way data binding