change annoy algo to angular