JSFiddle - React, Tailwind, and code Playground

by Adam Doherty

JavaScript

var app = angular.module('myForm', []);
app.controller('myFormController', function($scope){
	
});

app.directive('firstName',function(){
  return {
    restrict:'E',
     templateUrl: 'fields/firstName.html'
  };
});

app.directive('lastName',function(){
  return {
    restrict:'E',
     templateUrl: 'fields/lastName.html'
  };
});

app.directive('emailAddress',function(){
  return {
    restrict:'E',
     templateUrl: 'fields/emailAddress.html'
  };
});