Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49253

Non angular/ionic js code is not working when using ui-router

$
0
0

@Pablo74 wrote:

Hi all,

I have a main page and four sub-pages; using ui-router and ui-view directive. The sub pages are rendered inside main page.

Javascript code non containing to ionic/angular is not working on the sub page, although is working on the main page.

There is a prooof-of-concept:
http://play.ionic.io/app/9e42cfebf771

There are two pieces of JS code using Vue.js; the 1st one is inside the main page and IS working, the 2nd one is inside the sub-page (page 4) and is NOT working.

Is there ANY way to fix this? Thanks.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49253

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>