Fix issue #569

Hi, 
I try to fix https://github.com/DaftMonk/generator-angular-fullstack/issues/569

Thanks.