phonegap links use custom directive