Ionic Coded: To Access Data from Two Pages

Todo List Mobile App Phase I coded in the creator.ionic.io environment.

Instruction of the above by Ionic

There are two pages: Todos and Finished Items.
Todos.js was created to service (to share the data) to the above two pages.

Todos page has a function to access items in Todos.items and only display ‘finished’: false items.

Finished Items page has a function to access items in Todos.items and only display ‘finished’: true items. using Angular directives:

Loops using Angular directive:”ng-repeat item in items” and
display items with “ng-show” if “item.finished==true”.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s