concretesolutions / ng-security

A security module for AngularJS.
MIT License
31 stars 4 forks source link

Problems with logout #8

Open gcamera01 opened 7 years ago

gcamera01 commented 7 years ago

The cookie with the token is delete after clicking logout, but the console throw jqlite error. And after logout the html tags with the directive 'ng-if-authenticated' never disappear.

screen shot 2016-11-04 at 5 46 26 pm

agualbbus commented 7 years ago

@gcamera01 Angular fallsback to jqLite if there is no jQuery available. I guess that in your case there are both missing. Can you include jQuery or jqLite in your project and see if that works, please?

gcamera01 commented 7 years ago

Hello, I included jqlite with 'bower install jstools-jqlite --save' and I get the same error yet. On the attach file you can see that I'm including the bower package.

Also I try with 'npm install jqlite --save' but I get the same error.

screen shot 2016-11-07 at 5 51 50 pm