EDITABLE CODE:
LiveDemo:AngularJS Complex Directives : Using Directives as Templates
Note:The HTML block comprises of element ol and li, with the directive ng-repeat