In my Angular4 Project, I have come across this snippet of code:
<div class="divider"></div>
<ng-content select=".nav-toggle"></ng-content>
Now, I am trying to figure out a way to display the divider only when there is content provided from outside the ng-content tag. Can anyone guide me on how to achieve this? I have searched extensively but couldn't find any relevant information.