Add in support for the ionic javascript platform

Since we plan to use it for the UI, and we need angular.js from it for doing base64 decoding.