Best way to leave my app running in the browser

Hello there. I’m new with Ionic so please bear with me.
I developed a simple app using Ionic1 and AngularJs and I want to leave the app running on the browser of a raspberry small screen.
When I use the command ionic serve all runs ok, but if I move the directory tree to the apache directory the angularjs won’t work… is this a bad approach? I have read the “ionic serve” command is just for development purposes so I thought I had to use some other way to ‘serve’ my app constantly on a browser…

Am I doing something wrong?
Thanks in advance.