refactored templates, fixed breadcrumbs links using rootScope