Open mitogh opened 8 years ago
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
It's because we use directives with isolated scope and pass the variables by "@" (interpolated). I agree there might be a better way...
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