Fixes Issue #29 'Duplicates in a repeater are not allowed'

Use angular.fromJson() and angular.toJson() to prevent the "Duplicates in a repeater are not allowed" error that results from storage of $$ vars.
Merge pull request #30 from robwalch/patch-1

Fixes Issue #29 'Duplicates in a repeater are not allowed'