match spec files with a dash

The toggle to spec file feature was broken with the following popular angular generator which uses the "-spec.js" format:
https://github.com/cgross/generator-cg-angular