I am trying to add angular.js to my edge animate composition to use for a game. I want to use ng-model in input fields to store player information. I can't seem to get this to work by using. I have added the angularjs script using the add script feature and yepnope way. and this is what i have for my input field and label I want it to be binded to.
var namelabel0 = sym.$("nameInput0");
namelabel0.html('<form name="myForm" ng-app="" ng-controller="Ctrl"><input type="text" name="input" ng-model="user1"></form>');
var namelabel1text = sym.$("Text");
Any luck getting this working?
I haven't tried this but I'd presume you would have to treat the angular js code the same way you'd treat custom external js scripts: that is use the AdobeEdge object. See my reply to this question:
Thanks eliverrang, excellent help. I just started looking at the API.