You can try: $window.location.replace("http://www.google.com";)

On Fri, Apr 24, 2015 at 7:43 AM, Daniel Lidström <[email protected]>
wrote:

> You can cancel navigation. There's an event you can listen to. A google
> search should get you on the right track.
>
>
> On Friday, 24 April 2015 12:29:02 UTC+2, Nandakumar R wrote:
>>
>> HI,
>>       how to disable previous page when clicking on browser back button?
>>
>  --
> 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.
>

-- 
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