Bug #4 fix. Immediately after logging in, toasts are defaulting to type: info. This is a result of the AngularJS-Toaster library utilizing $rootScope.$emit and $rootScope.$on to send events. The directive is being instantiated once upon page load and again immediately after logging in. This causes $rootScope.$on to be called twice for the same $rootScope.$emit events, resulting in the toaster.js.addToast() being processed twice in this scenario.