Karnith / angular-revolution

directive for the Slider Revoluiton created by ThemePunch (http://www.themepunch.com/portfolio/slider-revolution-jquery-plugin/)
MIT License
14 stars 10 forks source link

Issue with show function in angular-revolution.js #9

Open amadsuda opened 7 years ago

amadsuda commented 7 years ago

Hello,

When I follow the guideline given,

<script type="text/javascript" src="https://code.angularjs.org/1.6.3/angular.js"></script>
<script type="text/javascript" src="js/angular-revolution.js"></script>
<script src="app.js"></script>  

I got this error,

TypeError: element.show is not a function
    at angular-revolution.js:75
    at angular.js:20119
    at completeOutstandingRequest (angular.js:6274)
    at angular.js:6554

Then, when I put the jquery.js above the Angularjs and it is running OK.

<script src="vendor/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="https://code.angularjs.org/1.6.3/angular.js"></script>
<script type="text/javascript" src="js/angular-revolution.js"></script> 

It seems like the function is not declared in Angular js. And how can I make it happen?

sanjaydeveloper7 commented 4 years ago

same problem??