ionic framework - Include an HTML file in a ion-view -


i have exsisting html file use librairies , stuff, want use in new ionic application.

so use ion-view. know if possible include html file in ion-view ? :

<ion-view> <io-content>  </ion-view> </ion-content> 

this existing hmtl file use different libraries , css file :

<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="./assets/js/jquery.mobile-1.4.5.min.css" rel="stylesheet" type="text/css" /> <link href="./assets/css/ofc.css" rel="stylesheet" type="text/css" /> <script src="./assets/js/jquery-1.7.1.min.js"></script> <script src="./assets/js/jquery.mobile-1.4.5.min.js"></script> <script type="text/javascript" src="pouchdb-3.4.0.min.js"> </script> <script type="text/javascript" src="blob-util.min.js"> </script> <script type="text/javascript" src="moment.js"> </script> <script src="properties.js"> </script>   </head>  <body>  <div data-role="page" id="p1">    </div>     <script src="core.js"></script>   </body>   </html> 

why this? believe question comes problem haven't described yet.

normally libraries used in ionic app included in index.html , not within each <ion-view> or <ion-content>. in these ionic directives load html needed view.

i suggest start reading beginning:


Comments