Refactored the controllers to use the $scope instead of 'controller as' syntax