move global variables in a module
move global variables in a module/service, work in progress
Fix sample model impl
reformat scripts
Fix ElementType and FieldType constants
fix ui model test
add grunt test-debug task to run karma in watch mode
fix sample model test
fix model sample impl
cleanup