how disable div in angular code example
Example 1: angualr disable div
<div ng-class="{'my-disable':condition}">
Example 2: how to disable a div in angular
<div [ngClass]="{'class1': condition,}"></div>
// your .css file
.disable{
pointer-events:none;
}