Update popover.js

Hi, just added an example for the .fromTemplate() method in the docs
Merge pull request #2668 from toychicken/patch-1

docs(popover): add fromTemplate() example