ngTags: ngOptions
authorTomas Zeman <tzeman@volny.cz>
Thu, 29 Jun 2017 17:15:34 +0200
changeset 42 e77d46515a8f
parent 41 33ec811608b2
child 43 7a5f3e314547
ngTags: ngOptions
shared/src/main/scala/ngTags.scala
--- a/shared/src/main/scala/ngTags.scala	Thu Jun 22 21:19:39 2017 +0200
+++ b/shared/src/main/scala/ngTags.scala	Thu Jun 29 17:15:34 2017 +0200
@@ -44,6 +44,8 @@
   def ngModel(expr: String) = attr("ng-model"):=expr
   def ngModelOptions(expr: String) = attr("ng-model-options"):=expr
 
+  def ngOptions(expr: String) = attr("ng-options"):=expr
+
   def ngReadonly(expr: String) = attr("ng-readonly"):=expr
 
   def ngRepeat(name: String, list: String) = attr("ng-repeat"):=s"$name in $list"