module matchdep
refactor based on the angularjs generator instead angular generator