Tuesday 30 May 2017

Angular Cryptojs modules does not work, injecter error

I try to use cryptojs to make a sha1 encryption, but my problem is that i cant get my app.js to find "crypto-js". I have also tried to inject with cdn but dosent work either. Is there some kind of way i can put a module into a module in angular?

var handshake = CryptoJS.AES.encrypt("handshake" + requestTime); I cant use CryptoJS here it says it cant find it in my app.js.

myApp module

node_modules structure



via Thomas Staal

No comments:

Post a Comment