angular 1.3.x breaking change fix

1) it's for issue #53 

2) this changes are compatible with old angular 1.2.x (and lower) and new angular 1.3.x

3) i didn't update angular version in karma.conf.js to 1.3 because of this is not stable version (just release candidate)