I am trying to use two different grid columns binding to ng-class
with if-else condition. I am unable to do it properly. Can someone guide where I am doing wrong. thanks.
HTML
<div ng-class="{'col-md-11': test1 === null, 'col-md-6' : test1 !== null}" *ngIf="(test !== null)">
<div>
<div ng-class="{'col-md-11': test === null, 'col-md-6' : test !== null}" *ngIf="(test1 !== null)">
<div>