This is exactly what ng-list does:
This also works on all other kinds of inputs as it hooks into ngModels parsers/formatters.
See this fiddle: http://jsfiddle.net/xbYzT/1/
The problem with this is that ng-list always joins with a ',' as the separator, so it's not really bi-directional.