daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="form-group input-group">
  2.             <span class="input-group-addon"><i class="fa fa-fw fa-mail-reply"></i></span>
  3.             <input type="email" class="form-control" [(ngModel)] = "profile" placeholder="Enter Your E-mail">
  4.           </div>
  5.           {{profile}}
  6.    
  7. import { Component, OnInit } from '@angular/core';
  8.  
  9. @Component({
  10.   selector: 'app-forms',
  11.   templateUrl: './forms.component.html',
  12.   styleUrls: ['./forms.component.css']
  13. })
  14. export class FormsComponent implements OnInit {
  15.   profile;
  16.   constructor() { }
  17.  
  18.   ngOnInit() {
  19.   }
  20.  
  21.   submit() {
  22.     alert('Submitted');
  23.   }
  24.  
  25. }
RAW Paste Data
Top