I would like to know how to put an angularjs model as the value for an html attribute. such as:
<div ng-controller="deviceWidth"
width={{width}}>
</div>
also, how would I do this within <style>
markup? Where would I put ng-controller?
div {
width:{{width}}
}
Thanks, Ben