jadrake75 / ng-scrolling-table

MIT License
8 stars 2 forks source link

If a directive depends on another it should be declared #75

Open jadrake75 opened 10 years ago

jadrake75 commented 10 years ago

if for example, the table-selection directive depends on table-scrolling-table then the table-scrolling-table should be declared via

require: '^tableScrollingTable'

in the directive itself. This will ensure directives are properly provided the correct context.

jadrake75 commented 10 years ago

see http://stackoverflow.com/questions/14915332/what-does-require-of-directive-definition-object-take

Xanir commented 9 years ago

Are there specific instances of this you know of that need to be cleaned up?