IBM-Cloud / gp-angular-client

Angular client for Globalization Pipeline on IBM Bluemix
https://www.ng.bluemix.net/docs/services/GlobalizationPipeline/index.html
Apache License 2.0
1 stars 8 forks source link

Minor documentation issue in 'custom directive' section #15

Open ckoberlein opened 8 years ago

ckoberlein commented 8 years ago

The attribute that the documentation shows for overriding the bundleId is 'bundleId'. The code itself however, looks for the attribute 'bundle'.

<span gp-translation="DATA-KEY" bundleId="specialBundleId"></span>
<gp-translation key="ANOTHER-DATA-KEY" lang="de" bundleId="someOtherBundle"></gp-translation>

Should be:

<span gp-translation="DATA-KEY" bundle="specialBundleId"></span>
<gp-translation key="ANOTHER-DATA-KEY" lang="de" bundle="someOtherBundle"></gp-translation>