Do you think that's better separation of concerns or more idiomatic or what? The only reason I like the alerting in the directive is that it's dealing with display.