Typo fix in FoundationApi exemple

Hello,

Just a small typo fix in the docs on how to use the FoundationApi service with the Angular's DI

It was `foundationApi.publish('my-modal', 'open');` it should be `FoundationApi.publish('my-modal', 'open');`