Why don't you do a ng-click on third link and do that function that will do 
a $window.location.href = 'domain3' after finishing? I think it's more 
simple

<a href="#newHash1">Hash1</a>
<a href="#newHash2">Hash2</a>
<a ng-click="doAnalytics()">Hash3</a>

$scope.doAnalytics(){
Analytics();
$window.location.href = "http://www.domain2.com#newHash3 
<http://www.domain2.com/#newHash3>";
}
I'm not sure about $window.location.href but surely is a way with 
$window.location

Have a good day

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to