Reputation: 11518
What is the default for controllerAs
for the Angular directive definition if it is not specified?
Upvotes: 1
Views: 317
Reputation: 24617
Unit tests describe the default behaviour of controllerAs
in the directive definition object(ddo) as such:
it('should throw noident when missing controller identifier')
it('should throw noident when missing controllerAs directive property')
References
Upvotes: 1