fix google analytics bug for angularjs