import resource from ionic