feat(chat): Switch from pure localStorage use to angular-local-storage module.

This module has better support for browsers, and will be easier to unit test with since it can be injected.