Christopher Taleck
Christopher Taleck
I saw the exact same error when re-creating the [Data-only mode example](https://github.com/hamzahamidi/ajsf#data-only-mode). I solved it by adding `ngDefaultControl` to the example's template. See StackOverflow for the more [complete explanation](https://stackoverflow.com/a/46465959/4321097). ````
Solution using the **spread operator** on _params_: ``` var format = (value, ...params) => replace(value, '{(\\w+)}', (match, index) => { if (typeof params[index] !== 'undefined') { return params[index] } return...