Has this directive been tested against angular 1.3? I am getting a race condition on 1.3 with the "resize()" function.