Fix type definition
Fix karma config
Modify document
Modify singleton pattern
Modify test
Update document