nut with phonegap + IonicJS