A previous series of posts described how I extended the ionc sample todo app to a more functioning todo application. This series further expands on the todo app by refactoring into more manageable chunks, and adding some more features.

refactor stories

I was inspired by this example to refactor to a mulitple file project following anglular js typical approaches. This example chose to separate the javascript out of one big app.js into multiple js files: use one services.js for services, one controllers.js for all controllers and a much smaller app.js just to initialize the router. The app.js shows the use of the anglular router technology to route to the first page which will show the list of tasks. For this example this is the only page. The project also used one file per template and I will do the same.

extend stories

the code for this can be found on my github page

next article in series