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

Data from JSON is stored in markup #41

Open
mitogh opened this issue Apr 6, 2016 · 1 comment
Open

Data from JSON is stored in markup #41

mitogh opened this issue Apr 6, 2016 · 1 comment

Comments

@mitogh
Copy link
Member

mitogh commented Apr 6, 2016

Steps to reproduce and a minimal demo of the problem

Open an instance that makes request to a JSON APi

Current behavior

All data is stored in markup

Expected/desired behavior

I think is best to share this data across directives thought JS instead.

Other information

Video: http://snaps.getmoxied.net/2A2q1B1O1E1w

@adamf321
Copy link

adamf321 commented Apr 7, 2016

It's because we use directives with isolated scope and pass the variables by "@" (interpolated).
I agree there might be a better way...

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