Skip to content

Conversation

@barbatus
Copy link
Contributor

@barbatus barbatus commented May 2, 2015

No description provided.

@Urigo
Copy link
Owner

Urigo commented May 2, 2015

@barbatus you are the Blaze boss :)
Can you explain so I can learn?

@barbatus
Copy link
Contributor Author

barbatus commented May 2, 2015

@Urigo I think it's pretty clear here. Template is created and rendered dynamically in this directive so we need to remove Blaze reference to it at some point (e.g. when new page is opened) otherwise it will dangle. $destroy is standard Angular event emitted when scope destroyed.

@Urigo
Copy link
Owner

Urigo commented May 2, 2015

oh for some reason I so it the other way around.
Yes totally obvious.
Thanks!

Urigo added a commit that referenced this pull request May 2, 2015
Remove Blaze view handler on $scope destroy.
@Urigo Urigo merged commit 0aa1c7d into Urigo:master May 2, 2015
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.

2 participants