# ionicPopup before splashscreen?

**URL:** <https://forum.ionicframework.com/t/ionicpopup-before-splashscreen/10973>\
**Category:** ionic-v1\
**Created:** [October 10, 2014, 6:30pm UTC](https://forum.ionicframework.com/t/ionicpopup-before-splashscreen/10973 "2014-10-10T18:30:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sioesi](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@sioesi](https://forum.ionicframework.com/u/sioesi)\
**Post date:** [October 10, 2014, 6:30pm UTC](https://forum.ionicframework.com/t/ionicpopup-before-splashscreen/10973/1 "2014-10-10T18:30:35Z")

</div>

I need to alert the user whether or no internet on your device. I evaluated the connection I have no problem, the problem is in the alert. If I do

```
alert('No connection);

```

I have problems as it leaves the file name “html”, you can do this? Install ngDialogs and does not work.

---

<div class="post-metadata">

**Author:** ![rodneyjoyce](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rodneyjoyce](https://forum.ionicframework.com/u/rodneyjoyce)\
**Post date:** [October 11, 2014, 12:43am UTC](https://forum.ionicframework.com/t/ionicpopup-before-splashscreen/10973/2 "2014-10-11T00:43:21Z")

</div>

I still have to do this in my app and was thinking of doing it like this: wire up the Cordova events for checking the connection. If it fails (no connection) then redirect to a new view which has a nice icon/message and a retry button. The only way to get off the page is to get the connection back and redirect to the main page. I checked how Facebook and apple and a couple of big players handle no connections and it does vary…
