[

    1. <script>
    2. ...
    3. $scope.divStyle = {
    4. width: 200,
    5. position: 'relative'
    6. };
    7. ...
    8. </script>
    9. <div ng-style="divStyle">my beautifully styled div which will work in IE</div>;

    ](https://github.com/mgechev/angularjs-style-guide/blob/master/README-zh-cn.md)