Angular JS Magazine

luni, 25 august 2014

Hiding Unprocessed Inline Template Binding Expressions

If you are using inline template expressions on slow devices then I'm sure that you have notice that, sometimes, while Angular parses the HTML, you can see the expressions instead of the result. In this case, you can hide those expressions by using the ng-cloak directive:

< ... ng-cloak>
  ...
</...>