Http://localhost:8100/oauthcallback.html not working for facebook login

Facebook redirect url not working on ionic app. Facebook login works fine but it gets stuck http://localhost:8100/oauthcallback.html. We are using $stateProvider, unable to get it work.

Added all steps as mentioned in ionic tutorial page:
https://ccoenraets.github.io/ionic-tutorial/ionic-facebook-integration.html

Thanks