I'm working on binding an angularjs custom class directive to an SVG element. You can see the core of my issue in this plunker: http://plnkr.co/edit/J4YafmSk6t7DScMRda4I?p=preview
Although the console log confirms that the custom class directive is successfully bound to the blue div element, nothing happens when I click on the red rect element, indicating that there might be a problem with the binding.
I have a hunch that this could be related to some specific aspects of SVG - has anyone come across a workaround for this issue before? I did some research and found issues concerning class interpolation for SVG elements, but that doesn't seem to be the case here...
Thank you in advance for your valuable assistance!