Is there a way to run a JavaScript script inside an ion-content?
When I put an inline script into a page inside ion-content it never gets triggered (executed).
However, if I put it in the index.html file, it does run.
Is there a way to run a JavaScript script inside an ion-content?
When I put an inline script into a page inside ion-content it never gets triggered (executed).
However, if I put it in the index.html file, it does run.
No, this goes against angular/MVC principles. A view should never have any scripting in it. This should be handled in a controller.
google: angularjs directive