angular-ee swt : mock module code review