added angular-resource and phonegap