broke appCtrl into its own module to avoid loading up `$state` stuff in the specs for it, which trigger page changes.