Add support for type: array

Because of how `$$value$$` works (it's replaced lexically in templates), it wasn't possible to really 'use' angular in a way I could see (i.e. in a way where ng-model actually bound to keys in the final output array).  In any case, with the exception of a couple issues I'll take care of tomorrow, it does seem to work.

I wanted to open the PR now, as I know similar work is being done in #10.