[SOLVED] Javascript in app.js not working

I’m about to build an application with framework7 but when i want to use datepicker components, the js inside app.js is not working when the datepicker component is used in other routed page, but its work within the home page. Any solution to my problem?

I’m using codeigniter to routing between pages

please show your code…

Thanks for the reply but i have manage to solved it