primeng
primeng copied to clipboard
Change the path to import MessageService
I'm submitting a ... (check one with "x")
[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Plunkr Case (Bug Reports)
Put MessageService in api.ts (like ConfirmationService or other ones in 'primeng/src/app/components/common' for example)
Current behavior
Now we have to do import {MessageService} from 'primeng/components/common/messageservice';
Expected behavior
Be able to do import {MessageService} from 'primeng/api';
The behaviour should be similar to that of ConfirmationService which is import { ConfirmationService } from 'primeng/api';
+1
Seems to be available in recent releases already.