Default controllerAs for the Angular directive

327 views Asked by At

What is the default for controllerAs for the Angular directive definition if it is not specified?

1

There are 1 answers

1
Paul Sweatte On BEST ANSWER

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