Moved the default and config functions to the provider. So it can be setup using ngNotifyProvider