googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 276 forks source link

AngularJS not run. #36

Closed OhCoder closed 9 years ago

OhCoder commented 10 years ago

I added the angularjs.min.js file. But it seems that not run. I don't know why? Hope someone can help me. Thanks!
Here is my screenshot:

status1 status2

jmstriegel commented 10 years ago

I think the double curly bracket delimiter syntax is bumping into the curly brackets that are used by the backend code. I don't know a lot about angular, but check this post on tweaking it to use square brackets instead: http://stackoverflow.com/questions/12923521/angular-js-custom-delimiter

OhCoder commented 10 years ago

no, it dosen't work. I don't know why , but thanks anyway.

euforic commented 10 years ago

@OhCoder try declaring data-ng-app in the body tag instead of the html tag

OhCoder commented 10 years ago

@euforic Hi, I tried that, but it dosen't work, thanks for your help.