├── .browserslistrc ├── .editorconfig ├── .gitignore ├── LICENSE ├── README.md ├── angular.json ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package.json ├── server.js ├── src ├── app │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── directives │ │ ├── match-password.directive.spec.ts │ │ ├── match-password.directive.ts │ │ ├── password-pattern.directive.spec.ts │ │ ├── password-pattern.directive.ts │ │ ├── validate-user-name.directive.spec.ts │ │ └── validate-user-name.directive.ts │ ├── home │ │ ├── home.component.html │ │ ├── home.component.scss │ │ ├── home.component.spec.ts │ │ └── home.component.ts │ ├── models │ │ ├── user.ts │ │ └── userRegistration.ts │ ├── nav-bar │ │ ├── nav-bar.component.html │ │ ├── nav-bar.component.scss │ │ ├── nav-bar.component.spec.ts │ │ └── nav-bar.component.ts │ ├── reactive-form │ │ ├── reactive-form.component.html │ │ ├── reactive-form.component.scss │ │ ├── reactive-form.component.spec.ts │ │ └── reactive-form.component.ts │ ├── services │ │ ├── customvalidation.service.spec.ts │ │ ├── customvalidation.service.ts │ │ ├── user-name-validation.service.spec.ts │ │ └── user-name-validation.service.ts │ └── template-driven-form │ │ ├── template-driven-form.component.html │ │ ├── template-driven-form.component.scss │ │ ├── template-driven-form.component.spec.ts │ │ └── template-driven-form.component.ts ├── assets │ └── .gitkeep ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.scss └── test.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/.browserslistrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/angular.json -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/e2e/protractor.conf.js -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/e2e/src/app.po.ts -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/e2e/tsconfig.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/package.json -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/server.js -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/directives/match-password.directive.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/directives/match-password.directive.spec.ts -------------------------------------------------------------------------------- /src/app/directives/match-password.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/directives/match-password.directive.ts -------------------------------------------------------------------------------- /src/app/directives/password-pattern.directive.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/directives/password-pattern.directive.spec.ts -------------------------------------------------------------------------------- /src/app/directives/password-pattern.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/directives/password-pattern.directive.ts -------------------------------------------------------------------------------- /src/app/directives/validate-user-name.directive.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/directives/validate-user-name.directive.spec.ts -------------------------------------------------------------------------------- /src/app/directives/validate-user-name.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/directives/validate-user-name.directive.ts -------------------------------------------------------------------------------- /src/app/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/home/home.component.html -------------------------------------------------------------------------------- /src/app/home/home.component.scss: -------------------------------------------------------------------------------- 1 | .title-home { 2 | height: 400px; 3 | } 4 | -------------------------------------------------------------------------------- /src/app/home/home.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/home/home.component.spec.ts -------------------------------------------------------------------------------- /src/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/home/home.component.ts -------------------------------------------------------------------------------- /src/app/models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/models/user.ts -------------------------------------------------------------------------------- /src/app/models/userRegistration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/models/userRegistration.ts -------------------------------------------------------------------------------- /src/app/nav-bar/nav-bar.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/nav-bar/nav-bar.component.html -------------------------------------------------------------------------------- /src/app/nav-bar/nav-bar.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/nav-bar/nav-bar.component.scss -------------------------------------------------------------------------------- /src/app/nav-bar/nav-bar.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/nav-bar/nav-bar.component.spec.ts -------------------------------------------------------------------------------- /src/app/nav-bar/nav-bar.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/nav-bar/nav-bar.component.ts -------------------------------------------------------------------------------- /src/app/reactive-form/reactive-form.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/reactive-form/reactive-form.component.html -------------------------------------------------------------------------------- /src/app/reactive-form/reactive-form.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/reactive-form/reactive-form.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/reactive-form/reactive-form.component.spec.ts -------------------------------------------------------------------------------- /src/app/reactive-form/reactive-form.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/reactive-form/reactive-form.component.ts -------------------------------------------------------------------------------- /src/app/services/customvalidation.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/services/customvalidation.service.spec.ts -------------------------------------------------------------------------------- /src/app/services/customvalidation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/services/customvalidation.service.ts -------------------------------------------------------------------------------- /src/app/services/user-name-validation.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/services/user-name-validation.service.spec.ts -------------------------------------------------------------------------------- /src/app/services/user-name-validation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/services/user-name-validation.service.ts -------------------------------------------------------------------------------- /src/app/template-driven-form/template-driven-form.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/template-driven-form/template-driven-form.component.html -------------------------------------------------------------------------------- /src/app/template-driven-form/template-driven-form.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/template-driven-form/template-driven-form.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/template-driven-form/template-driven-form.component.spec.ts -------------------------------------------------------------------------------- /src/app/template-driven-form/template-driven-form.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/app/template-driven-form/template-driven-form.component.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/index.html -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/styles.scss -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/src/test.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/tsconfig.spec.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AnkitSharma-007/angular-forms-validation/HEAD/tslint.json --------------------------------------------------------------------------------