Can someone help me figure out how to use an AngularJS model as the value for an HTML attribute? For example:
<div ng-controller="deviceWidth"
width={{width}}>
</div>
Additionally, how can I achieve this within <style>
markup? Where should I place ng-controller?
div {
width:{{width}}
}
Thank you, Ben