-- Migrated modals to angularjs