Resolve event tracking issues with angularjs.