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

transcluded expressions not executing in parent scope #8

Open
davidjnelson opened this issue Jun 23, 2013 · 1 comment
Open

transcluded expressions not executing in parent scope #8

davidjnelson opened this issue Jun 23, 2013 · 1 comment
Assignees

Comments

@davidjnelson
Copy link
Owner

For instance:

<column><a href ng-click="inParentScope(row)">should call parent scope</a></column>

is getting called in the child scope.

@ghost ghost assigned davidjnelson Jun 23, 2013
@davidjnelson
Copy link
Owner Author

still working on the fix, but I've committed a workaround.

for now, if you need to access a function in the parent scope, just prepend 'parent.' to the function name.

In the example above, this would be:

<column><a href ng-click="parent.inParentScope(row)">should call parent scope</a></column>

garaboncias added a commit to garaboncias/angular-table that referenced this issue Aug 3, 2013
2. sort state fix (issue davidjnelson#24)
3. scope is now inherited (issue davidjnelson#8)
4. less verbose markup (sort-arrow-ascending and sort-arrow-descending
are optional markup)
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

1 participant