Modal migrated to Angular 1.0