2
I’m having trouble with the following situation: I have a ng-view on my page, but I need two scripts I implement at the bottom of the page hold on my ng-view load for them to interact with the classes of the elements within my ng-view. These are the scripts "scrollreveal.js" and "magnific-popup.min.js" Code below:
<ng-view></ng-view>
<!--Core JS-->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--AngularJS-->
<script src="app/AngularJS/angular.min.js"></script>
<script src="app/AngularJS/angular-route.min.js"></script>
<!--App-->
<script src="app/app.js"></script>
<!--Routes-->
<script src="app/routes.js"></script>
<!--Directives-->
<!--<script src="app/directives/frameworks-directive.js"></script>-->
<!--Controllers-->
<!--Frameworks JS-->
<script src="js/scrollreveal.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/jquery.fittext.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/creative.js"></script>
Good reference.
– Samir Braga
I really enjoyed the reference and I really appreciate the help. I will use as a source of consultation. In a hurry, I ended up using the @Samirbraga solution, which ended up working.
– Marcelo Lima