bjfletcher
bjfletcher

Reputation: 11518

Default controllerAs for the Angular directive

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

Upvotes: 1

Views: 317

Answers (1)

Paul Sweatte
Paul Sweatte

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

Related Questions