Fixed all the shit about updating to angular 1.3