The above function initializes on a $locationChangeStart event with a "top level breadcrumb" for the Home Page of the site. Don't forget to include the $location service when initializing the application.

Each change in the window location resets the breadcrumbs when it hits that original $rootScope.$on('$locationChangeStart', function() {...} function that we wrote in app.js. Then the UserCtrl.init() function reads the URL to determine the current view and sets $scope.mode. The UserCtrl.fetch() function reads $scope.mode, then pushes hardcoded breadcrumbs into the $rootScope.breadcrumbs object as necessary. These get rendered in the HTML template!