I am building an ionic application for android. I have added jquery into my index.html:
<script src="lib/jquery/jquery-1.11.3.min.js"></script>
<script src="lib/ionic/js/ionic.bundle.js"></script>
Then in my controller function I did this:
.controller('bluetoothCtrl', function($scope, $cordovaBluetoothSerial, $timeout, $ionicModal) {
var $jq = jQuery.noConflict();
$scope.doSomething = function(){
$jq.grep(...);
};
....
});
However when I load the application on my android, I get the below error:
Failed to load resource: net::ERR_FILE_NOT_FOUND