O'Reilly logo

PhoneGap and AngularJS for Cross-platform Development by Eugene Liang Yuxian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AngularJS on PhoneGap

Before we begin this section, let's take a look at how much magic the PhoneGap command-line interface has. Navigate to the directory where you saved your code; you should see something like the following screenshot:

AngularJS on PhoneGap

Directory layout of the code

The previous screenshot is how my code directory looks after issuing the PhoneGap commands of the previous section. Notice that I've created the folder phonegap/, and the PhoneGap command line helped us create the todo/ project folder with other folders such as hooks/, merges/, platforms/, plugins/, and so on. Our platform-specific commands created the folders android/ and ios/ and they ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required