am trying to import JS sdk into ionic2/angular2 app, but i keep getting parse is undefined
In ionic 1.x ,parse js sdk is loaded via
<script ..parse.js </script>
and exposed as a global var, how do import in ionic 2 , am using the npm module ,and tried currently doing
import * as parse from 'parse'
tried without import assuming it already it already loaded
Parse.Current..
return parse is undefined