Updated to Angular 1.3.1