ionic / 3rd party directive issue