I load my content using ajax, says it's content.html. So in content.html there's a script tag. I found a problem with this approach. I do a console.log('debug')
within content.html, and load it with ajax, and it trigger every time. How to do a flag to prevent that?
Note that I can't load the js of content.html in global scope dude to some plugin conflicts.