initialized angular app and phonegap