Ionic Run Android result not same as Ionic Serve Result

Hi all. I recently followed this tutorial…

http://codepen.io/calendee/pen/Kbpyg

to create a slide box. Everything seems well, especially when using ionic serve --lab. The application comes out beautifully.

The problem is when i use “ionic run android”, the application does not pick up the js file and it creates everything on one page as opposed to a slide box. First image shows the application using “ionic serve --lab” and the second shows the app on my android phone using “ionic run android”. image
image
Both are exactly the same file. (NOTE: Second image is showing broken for some reason, click it to view)

Do it like this:

ionic run android -l -c -s

This will turn on logging. See if you’re receiving any errors.