Implemented unit test for Angular using Karma and Jasmine.