ngInject export function config ( $logProvider , $compileProvider , $ocLazyLoadProvider , toastrConfig , cfpLoadingBarProvider ) { $compileProvider . debugInfoEnabled ( false ) ; $logProvider . debugEnabled ( true ) ; $ocLazyLoadProvider . config ( { debug : true } ) ; toastrConfig . allowHtml = false ; toastrConfig . timeOut = 3000 ; toastrConfig . positionClass = 'toast-top-right' ; toastrConfig . preventDuplicates = false ; toastrConfig . progressBar = true ; cfpLoadingBarProvider . includeSpinner = false ; }