Skip to content Skip to sidebar Skip to footer

Ionic: Referenceerror: $ Is Not Defined

I'm getting the error ReferenceError: $ is not defined on my ionic application. I'm trying to open links in the systems browser from my json file. Here's the code: $timeout(fun

Solution 1:

Angular will use jqLite. However you can include jQuery.js before Angular.js and make Angular replace jqLite by jQuery. $ will be difined.

Include jQuery before including AngularJS as,

<!-- Add jQuery from --><scripttype="text/javascript"src="jquery.js"></script><!-- And then AngularJS --><scripttype="text/javascript"src="angularjs.js"></script>

Post a Comment for "Ionic: Referenceerror: $ Is Not Defined"