The root of phonegap and angular