Fix angularjs generator