Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Moved toastService into copy directive #468
Previously what happened was ng-click -> called copyToClipBoard which always showed a successful toast message.
Passed in the toastService into the copy directive, so now what happens is the toast service will show the correct response.
Partially inspired by a reddit post where the user stated that it would say copied to clipboard but then would not be able to past it.