i'm trying to figure out how to bind angularjs scope vars into css syntax the problem i think is the curly braces here is what i'm basically trying to do:
<style>.css_class {background:{{ angular_variable }}; color:#ffffff;}</style>
<style>.css_rule {background:{{ "#000000" }}; color:#ffffff;}</style>
<style>.css_rule {background:{{ var | someFilter }}; color:#ffffff;}</style>
Any ideas on how this could be accomplished? Thank you!
ng-class
docs.angularjs.org/api/ng.directive:ngClass . Where is this code located? – Chandermani Aug 15 '13 at 7:56