Upgrade to angular 1.3.1