clean up switch statement
use valueAttr in comp() instead of hardcoded name attribute
Merge branch 'master' of github.com:niquola/ng-w