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

Nested scopes and Win-control directives #85

Open
perkastman opened this issue Nov 19, 2015 · 0 comments
Open

Nested scopes and Win-control directives #85

perkastman opened this issue Nov 19, 2015 · 0 comments

Comments

@perkastman
Copy link

I have an issue when using the win-control directive in a nested angular-winjs directive:

 <div ng-controller="appbarController">
       <win-app-bar  win-control="outerControl">

        <win-app-bar-command section="'secondary'" win-control="innerControl">
        </win-app-bar-command>

    </win-app-bar>
</div>

If I use the markup above I will have outerControl available in the scope of appbarController, but the inner directive will have it's own scope and innerControl will not be available in the appbarController scope. Seems like there is an issue with nested controllers and scope when using the win-control directive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants