I need to reload a page after routing to a new component 

I have tried location.reload() option but it keeps on reloading without stoping

```
ngOninit(){
location.reload()
}

```

Expected result : 

I need to reload a page only oncee

Actual result :

It is reloading many times