jeudi 26 mai 2016

Laravel - AngularJS ReferenceError: $ is not defined

I know angularjs does not need jquery lib . I have created laravel project with default auth so I was thinking to use angularjs as front end in the laravel view of registration so on conform password I have created angularjs directive for password searched from google. Now, when every thing is in place all is well but when I remove jquery lib from master page it give me this -

  1. it is a bootstrap error
  2. it is a angularjs error which i didn't unterstand please help.

ok so my console is

Uncaught Error: Bootstrap's JavaScript requires jQuery bootstrap.min.js:6

ReferenceError: $ is not defined angular.js:11500

but then when I add jquery lib all is well how so ? and also how to make bootstrap in laravel now to give error without adding jquery lib.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire