1 <div ng-app="app">
2 <hello>hello>
3 div>
4 <script>
5 var appModule= angular.module(‘app‘,[]);
6 appModule.directive(‘hello‘,function(){
7 return {
8 restrict:‘E‘,
9 template:‘template of hello
‘,
10 replace: true
11 }
12 });
13 script>
14 <script src="./angular.min.js">script>