btford/ngmin — pull request #30 by BinaryMuse (2013-05-02 22:34:33+00:00)
Title: Fix annotation on directive controllers of annotated directives

Currently, directives that require (or have) annotations do not get their controllers annotated. For example, this directive's `controller` will not be correctly annotated.

```javascript
mod.directive('MyDirective', ['$window', function($window) {
return {
controller: function($scope) { ... }
};
}])
```

This pull request removes the arguments check on `mod.directive`, assuming that a call to `directive` on an `ngModule` will be enough to verify that portion of the AST walk.