configured angular to work with phonegap