April 2017
Beginner to intermediate
378 pages
7h 57m
English
Now that we are done with our Ionic v1 Todo app, we will be looking at migrating the same to Ionic 2.
The plan is simple; we are going to scaffold a new blank template using the --v2 flag and start putting stuff together. The following table would be a good starting point:
| Component | Ionic 1 | Ionic 2 |
| Ionic starter template | Blank | Blank |
| Bootstrap application | ng-app | NgModule |
| Navigation | State router | NavController |
| Components | Templates and controllers | @Component |
| Services/factory | Service provider | @Injectable Provider |
| Persistence | Local storage | Storage API |
| Device interaction | NgCordova | Ionic Native |
| Local notifications ... |
Read now
Unlock full access