Help with redirecting from one page to another

i am using a href to redirect to a home page from login my home page is in www/templates/home.html
on ionic serve the rediect works fine when i compile to apk it says file:///templates/home.html does not exists.Please help