fixed errors when return value to scope
fixed errors when add multiple elements and share controller
add Gruntfile for minification
configure build file
add travis.yml