change ng-bind to ng-model and move ng-init at first