In this example, we will cover in detail as to how to write code for a slightly more complicated AngularJS app. This app is modified from the official example found at angularjs.org. This example will be used as a base when we convert it from a web application to a PhoneGap application.
For starters, create the
todo.js files. Just for your information, the code found in this section can be found in the
todo folder in
We need to prepare our HTML file so that we can make use of AngularJS. Similar to the previous
concepts.html file, you will see that we have included the use of AngularJS via script. Open up your
index.html file in your ...