angular2 disable div on page load code example
Example 1: angualr disable div
<div ng-class="{'my-disable':condition}">
Example 2: angualr disable div
.my-disable{
pointer-events:none;
}
<div ng-class="{'my-disable':condition}">
.my-disable{
pointer-events:none;
}