Merge pull request #21 from denisstepanenko/denis1

Denis1
added jasmine js unit tests

with one passing tests got chat controller
Merge pull request #22 from denisstepanenko/js-unit-tests

added jasmine js unit tests