Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Mirror all of the API of scope on ngScope #850

Closed
tfortes opened this issue Apr 3, 2014 · 0 comments
Closed

Mirror all of the API of scope on ngScope #850

tfortes opened this issue Apr 3, 2014 · 0 comments

Comments

@tfortes
Copy link
Contributor

tfortes commented Apr 3, 2014

Currently you can get a hold of scope from JS using ngScope(element) but this is a proxy not the actual scope and it has a limited set of methods available on it.

Please add these methods to the proxy:

  • isDestroyed/isAttached
  • destroy()
  • emit/ broadcast
@mhevery mhevery changed the title Need a way to get the scope from an element Mirror all of the API of scope on ngScope Apr 3, 2014
mvuksano added a commit to mvuksano/angular.dart that referenced this issue Apr 4, 2014
`ngScope(element)` returns a proxy of Scope. This change adds methods isDestroyed, isAttached, destroy, emit and broadcast to the proxy.

Closes dart-archive#850
mvuksano added a commit that referenced this issue Apr 4, 2014
`ngScope(element)` returns a proxy of Scope. This change adds methods isDestroyed, isAttached, destroy, emit and broadcast to the proxy.

Closes #850

Closes #858
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants