Fix for filter: IE throws exception on element.contains() if element is a node like an SVG element:
Fix for filter: IE throws exception on element.contains() if element is a node like an SVG element:

see https://connect.microsoft.com/IE/feedback/details/780874/node-contains-is-incorrect

Use alternate implementation instead.
trenthogan/angular-off-click,TheSharpieOne/angular-off-click,lmtm/angular-off-click