Side Menu not working when added scope: $scope to modal

Here is example http://codepen.io/piernik/pen/CHDlp/

Side menu isn’t working. When I delete

scope: $scope,

from modal it works again (I need that scope)
What’s wrong?

Man I dug at that a bit and couldn’t resolve it. I’m not quite sure why the $scope.$$childHead is needed there… I’ve found it in some of my own samples though, but not in my own app code( since removed).

Anyone else have suggestions?

I think too that $$childHead is wrong but don’t know what it is and what it should be :slight_smile: