change detect script to look in angular directory