WIP: angular 1.3 update