Added support for tags

This commit is contained in:
Dobie Wollert
2013-06-26 03:54:22 -07:00
parent b92068b6b2
commit 4ca472f2cb
9 changed files with 225 additions and 6 deletions

View File

@ -141,7 +141,7 @@ angular.module('biomed.directives', [])
var isTouch = 'ontouchstart' in window && !window.navigator.userAgent.match(/PhantomJS/i);
return {
restrict: 'A',
restrict: 'AC',
require: '?ngModel',
link: function postLink(scope, element, attrs, controller) {
@ -310,6 +310,7 @@ angular.module('biomed.directives', [])
var options = {};
return {
restrict: 'AC',
require: '?ngModel',
compile: function (tElm, tAttrs) {
var watch,