fixup! (#52) somewhat working with AngularJS 1.3