Demo entry 5862325

New York

   

Submitted by anonymous on Aug 03, 2016 at 15:15
Language: JavaScript. Code size: 164 Bytes.

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

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).