How to use SAML based authentication in IONIC application

I need to implement SSO authentication using SAML based authentication in our IONIC app for iOS/Andoid. Here is following doubt in my mind while working on that: 1. Is it possible that SAML supports IONIC Framework? 2. If not supported then any alternative way to do SSO authentication in IONIC.Any samle code for that?