nitweb/angular: introduce entity-tag directive
[nit.git] / share / nitweb / javascripts / entities.js
index 4fe181b..2fd481c 100644 (file)
                                templateUrl: '/directives/entity/signature.html'
                        };
                })
+
+               .directive('entityTag', function() {
+                       return {
+                               restrict: 'E',
+                               scope: {
+                                       mentity: '='
+                               },
+                               replace: true,
+                               templateUrl: '/directives/entity/tag.html'
+                       };
+               })
 })();