Fix getSelectedItems() formatting
Improve array detection in getSelectedItems()

Tweaked from a commit in @booleanbetrayal's fork.
Add a plunker example to the README
1.1.3