added karma for testing angular code