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

Error: [$compile:nonassign] #65

Open
fer-ri opened this issue Nov 11, 2014 · 1 comment
Open

Error: [$compile:nonassign] #65

fer-ri opened this issue Nov 11, 2014 · 1 comment

Comments

@fer-ri
Copy link

fer-ri commented Nov 11, 2014

Hi

I use code like this

html <canvas chart="Line" data="chart" legend=true width="500" height="300"></canvas>

but its generate error something like this

Error: [$compile:nonassign] http://errors.angularjs.org/1.2.10/$compile/nonassign?p0=undefined&p1=chart at Error (native)

How to fix it? thanks

@aldidas
Copy link

aldidas commented Dec 20, 2014

Try to add the options like this
<canvas chart="Line" data="myData" options="myOptions" legend=true width="500" height="300"></canvas>
Hope this helps...

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

No branches or pull requests

2 participants