ronzeidman / ng2-ui-auth

an angular2 repository for authentication based on angular1's satellizer
MIT License
206 stars 64 forks source link

Angular 5.0.0 upgrade results in \ng2-ui-auth\undefined\ng2-ui-auth.jsError: No module factory available for dependency type: ContextElementDependency #120

Closed yoda888 closed 6 years ago

yoda888 commented 7 years ago

Hi Angular 5.0.0 upgraded resulted in compilation fatal error: \ng2-ui-auth\undefined\ng2-ui-auth.jsError: No module factory available for dependency type: ContextElementDependency

ronzeidman commented 7 years ago

I'm working on an angular 5 version, you can look at the beta branch

ronzeidman commented 7 years ago

try version 8.0.0-beta.2: npm i ng2-ui-auth@8.0.0-beta.2 look at the changelog for upgrade details

yoda888 commented 7 years ago

Thank you. Could you please provide a usage example for IPartialConfigOptions?

ronzeidman commented 7 years ago

It's the same as before but you don't need to create a class, just an object will work

ronzeidman commented 6 years ago

angular 5 is fully supported in version 8.0.0