For all my template, I have the same html header and footer. What I am doing currently :
<html> <head> <meta charset="utf-8"> <title>Miss roulax</title> </head> <body class="ng-scope" ng-app="ionicApp"> <div> <!-- This is where the child will be loaded --> <ion-nav-view></ion-nav-view> </div> </body> </html>
It works perfectly…with ionic serve (the web version of the application). But when I launch it on android, when I go from one page to the second, the content of the second page is displayed after the content of the first.
How to properly mutualize header and footer code in inonic ?