javascript - How to include and use jQuery in Angular properly? -


i building ionic application android. have added jquery index.html:

<script src="lib/jquery/jquery-1.11.3.min.js"></script> <script src="lib/ionic/js/ionic.bundle.js"></script> 

then in controller function did this:

.controller('bluetoothctrl', function($scope, $cordovabluetoothserial, $timeout, $ionicmodal) {      var $jq = jquery.noconflict();      $scope.dosomething = function(){          $jq.grep(...);       };       .... }); 

however when load application on android, below error:

failed load resource: net::err_file_not_found


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -