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

Provide way to acquire controller given component element #305

Closed
yjbanov opened this issue Nov 26, 2013 · 0 comments
Closed

Provide way to acquire controller given component element #305

yjbanov opened this issue Nov 26, 2013 · 0 comments
Milestone

Comments

@yjbanov
Copy link
Contributor

yjbanov commented Nov 26, 2013

It is useful, especially in unit-tests, to be able to get the controller for a component given its element. For example, when testing two nested components, I want to be able to verify the inner component's state based on actions performed on the parent component. Unfortunately, currently I am limited to only reading the DOM structure. I cannot read the object structure.

@ghost ghost assigned mhevery Nov 27, 2013
mhevery added a commit to mhevery/angular.dart that referenced this issue Nov 27, 2013
Add global methods to make it easier to debug Angular application from
the browser's REPL, unit or end-to-end tests.

Closes dart-archive#305
mhevery added a commit to jbdeboer/angular.dart that referenced this issue Dec 5, 2013
Add global methods to make it easier to debug Angular application from
the browser's REPL, unit or end-to-end tests.

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

No branches or pull requests

2 participants