AngularJS Simple directive 4.2

AngularJS Simple hello world directive with click events

HTML

<div ng-app="myApp" ng-controller="ctrl">
    <div style="width: 250px; overflow: scroll; " >
        <div ng-style="myStyle">Hello!</div>
    </div>
</div>

CSS

</style> <!-- Ugly Hack due to jsFiddle issue: http://goo.gl/BUfGZ --> <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css"> <script src="http://code.angularjs.org/1.2.2/angular.min.js"></script> <style>

JavaScript

var app = angular.module('myApp', []);
function ctrl($scope){
    $scope.myStyle= {
        "width":"900px",
        "background":"red"
    }
}