Fixed an issue with the component list directive and the search capabilities.

Figured it out and fixed it as best as I could. There may still be some residual issues, but hopefully we're clean enough for testing.
Merge pull request #271 from Jedwondle/master

Fixed an issue with the component list directive and the search capabili...