refactored to use ng-include
refactored to use types as an object/ng-repeat. Also added key up to listeners. and focusout. Also got selected property on tags to initially work. [WIP]
brought this into it's own file, rather than in index.html