renamed MainCtrl to MainController.

unfortunately the $location test doesn't work for some reason.