--- a/shared/src/main/scala/ngTags.scala Thu Nov 19 18:23:36 2015 +0100
+++ b/shared/src/main/scala/ngTags.scala Thu Mar 31 14:48:44 2016 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 Tomas Zeman <tzeman@volny.cz>
+ * Copyright 2015-2016 Tomas Zeman <tzeman@volny.cz>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,10 +33,13 @@
def ngDisabled(expr: String) = "ng-disabled".attr:=expr
def ngHide(expr: String) = "ng-hide".attr:=expr
def ngHref(expr: String) = "ng-href".attr:=interpolate(expr)
+ def ngIf(expr: String) = "ng-if".attr:=expr
val ngInclude = "ng-include".tag
def ngInit(expr: String) = "ng-init".attr:=expr
def ngModel(expr: String) = "ng-model".attr:=expr
+ def ngReadonly(expr: String) = "ng-readonly".attr:=expr
def ngRepeat(name: String, list: String) = "ng-repeat".attr:=s"$name in $list"
+ def ngRepeatStart(n: String, l: String) = "ng-repeat-start".attr:=s"$n in $l"
def ngSrc(expr: String) = "ng-src".attr:=expr
def ngShow(expr: String) = "ng-show".attr:=expr
def ngStyle(s: String) = "ng-style".attr:=s