Change to using show instead of if on edit template for latest Angular 1.2.22