fixed problem with karma [ReferenceError: module is not defined]

fixes yeoman/generator-angular#327