Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add controllerAs option, to make the context menu work with 1.5 component #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arturoromeroslc
Copy link

@arturoromeroslc arturoromeroslc commented Dec 24, 2016

Fixes bug where context menu doesn't work with 1.5 components.
Bug reproduced: https://plnkr.co/edit/xvSn7Dqh2qGqhHZvWJuF?p=preview

Fix Details

Add the ability to pass in a value for controllerAs.
On click pass in the correct controller bindings by checking if a user is using controllerAs.

@arturoromeroslc arturoromeroslc changed the title add controllerAs option, to make the cm work with 1.5 component add controllerAs option, to make the context menu work with 1.5 component Dec 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant