i need to change height of the parent element when ng-If is true and it display a rectangle, but have no idea how.
My structure looks like:
<div class="parent">
    <form> 
        <div ng-if="sth" class="child"> 
        </div>
    </form>
</div>
when the if statement is true, then parent height has to change.
 
     
    