I guess it would help if I provided the link to the actual project..
https://github.com/cen1/ionic-babelify-es6-kc
cen je 20. 08. 2016 ob 17:44 napisal:
Hi
I couldn't find a good sample project with keycloak-js and Ionic
anywhere on the internet (there is a very basic example with Cordova
on GitHub), so I decided to hack one on my own. In addition, I decided
to modularize the starter Ionic tabs project and add ES6 support. The
project initializes Keycloak adapter and adds an auth interceptor on
$httpProvider for header injection.
Hopefully this is useful for someone.
Best regards, cen