Prefix test

Single field with ng-model without prefix

If you have set a value in the previous page, you will notice that the value has been restored as they share the same name "testValue".

<input type="text" data-ng-model="testValue" data-df-model-storage>

Model testValue:
{{testValue|json}}

Prefix model name

Here we have prefixed the model name "prefixedTestValue" with "prefixed", in the previous page, the model is prefixed with index, thus no clash is present.

<input type="text" data-ng-model="testValue" data-df-model-storage data-df-prefix="prefixed">

Model prefixedTestValue: with prefixed value.
{{prefixedTestValue|json}}