You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for directive definition in a variable
Adds implicit annotation support directive definitions that are returned
from a variable.
```javascript
angular.module('MyMod').directive('foo', function() {
var directive = {
// Ctrl wasn't annotated before, but will be now.
controller: function Ctrl(FooService) {},
};
return directive;
});
```
0 commit comments