Changed bowerfile to require angular 1.2
Fixed broken tests
* Added scope.apply to stop callbacks