fixed issue with page not loading correctly

Sorry it took so long bit I fixed the issue.  Everything working now.

Please see changes to app/scripts/app.js