we do this through jQuery:
$(document).ready(function () {
$('input').click(function (e) {
e.preventDefault();
});
});
, "", "angular", , jQuery , (, jQuery angular.element - "" jQuery --- angular: https://docs.angularjs.org/api/ng/function/angular.element), :
angular.element(function() {
angular.element('input').trigger('click')(function(e) {
e.preventDefault();
};
});
, , : " angular jQuery ", , , -.
. datepickers .., - readOnly , , , , ng-show : ng-show="!model.readOnly"