--- a/shared/src/main/scala/ngTags.scala Thu Nov 05 12:02:30 2015 +0100
+++ b/shared/src/main/scala/ngTags.scala Thu Nov 05 14:25:49 2015 +0100
@@ -24,6 +24,7 @@
val ngAlert = "alert".tag
val ngApp: Attr = "ng-app".attr
+ def ngBindHtml(safe: String) = "ng-bind-html".attr:=safe
def ngChange(expr: String) = "ng-change".attr:=expr
def ngClick(expr: String) = "ng-click".attr:=expr
val ngCloak = "ng-cloak".tag
@@ -45,4 +46,14 @@
val translateAttr = "translate".attr
}
+object uiSelect {
+ val uiSelect = "ui-select".tag
+ val uiSelectMatch = "ui-select-match".tag
+ val uiSelectChoices = "ui-select-choices".tag
+ def theme(t: String) = "theme".attr:=t
+ def repeat(n: String, col: String) = "repeat".attr:=s"$n in $col"
+ def onSelect(fun: String) = "on-select".attr:=fun
+ def onRemove(fun: String) = "on-remove".attr:=fun
+}
+
// vim: set ts=2 sw=2 et: