wrote test
better using newVal
bower and package.json
cleaner karma.conf.js