Git Product home page Git Product logo

signup-login-forms's Introduction

SignUp-Login-forms

A sample signup and login form using Angular 2. This project is like my "Hello World" in Angular 2.

Here, I have used concepts like dependency injection (for using Service), routing etc.

Things I have missed are: form validation.

My notes

We have 4 key players in an Angular 2 app:

  1. Components
  2. Directives
  3. Routers
  4. Services

The Component encapsulates the template, data and the behavior of the view. We don’t need to access the DOM to change a the value of a tag. In angular, we do it by data binding. If we need to talk to the backend server to fetch the data and if this process is no where related to the Component, we do it by using Services. A Directive is a class that allows us to extend or control DOM. We can create custom tags or attributes. Routers help in directing users to different pages based on the option they choose on the main page.

Symbols and Notations used in Angular 2

# - variable declaration

() - event binding

[] - property binding

[()] - two-way property binding

{{ }} - interpolation

* - structural directives

signup-login-forms's People

Contributors

angular-cli avatar nandandesai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.