yalabot / angular-foundation

http://pineconellc.github.io/angular-foundation/
Other
1.05k stars 267 forks source link

Allow dropdownToggle directive to inherit parent scope #225

Closed kb3eua closed 9 years ago

kb3eua commented 9 years ago

When paired with another directive on the same element, Angular may complain about multiple directives trying to create a new scope. This directive (dropdownToggle) doesn't seem to really require its own scope, so we should be able to remove it and get the information we need from the "attrs" parameter instead.

jbrowning commented 9 years ago

:+1: Looks good to me. Thanks!