angular-ui / ui-ace

This directive allows you to add ACE editor elements.
http://angular-ui.github.io/ui-ace
MIT License
578 stars 172 forks source link

OnLoad option does not get evaluated to function #16

Closed alexspark closed 10 years ago

alexspark commented 10 years ago

Based on the OnLoad example in the ReadMe, the function name is not $eval-ed to the OnLoad function defined on a ng-controller's scope.

I suspect that this will also occur with onChange as well

alexspark commented 10 years ago

Nevermind. Didn't see that the function signature was not surrounded by quotes.