w3test directive

testing

by greatCar

HTML

<body ng-app="myApp">

<w3-test-directive></w3-test-directive>

</body>

JavaScript

var app = angular.module("myApp", []);
app.directive("w3TestDirective", function() {
    return {
        template : "<h1>Made by a directive!</h1>"
    };
});