options.format = options.format || 'json';
var fmt = formats[options.format];
+ if (options.deep) {
+ fmt.watcher = '$watch';
+ }
if (options.default === undefined) {
options.default = fmt.default;
}
activeTimer = null;
ignorable = {};
}, 50);
- });
+ }, options.deep);
};
return $delegate;