Check out this demo on JSFiddle: http://jsfiddle.net/altermind/yak10smq/1/
In the controller 'EntrynewCtrl', I am trying to declare a variable called 'appetite' and pass it to a JavaScript function like this:
<script>
var a = appetite;
</script>
After running "console.dir(scope);", I see this output in the console:
$$childScopeClass
Although I can access this variable via the console, I am unsure how to access it in the script itself.
Update: I initially shared the wrong fiddle, but now the correct one is linked above.