Validating form before sending request

Change-Id: I908ca21cbe151bd2931cbf05be8970a1294a19ee
diff --git a/src/app/core/index.ts b/src/app/core/index.ts
index e1a830e..17536f6 100644
--- a/src/app/core/index.ts
+++ b/src/app/core/index.ts
@@ -13,6 +13,7 @@
 import {xosForm} from './form/form';
 import {xosField} from './field/field';
 import 'angular-toastr';
+import {xosAlert} from './alert/alert';
 
 export const xosCore = 'xosCore';
 
@@ -35,4 +36,5 @@
   .component('xosLogin', xosLogin)
   .component('xosTable', xosTable)
   .component('xosForm', xosForm)
-  .component('xosField', xosField);
+  .component('xosField', xosField)
+  .component('xosAlert', xosAlert);