working on angular notifier functions