Git Product home page Git Product logo

wdi_9_angular_demo_forms's Introduction

Angular Forms

Objectives

  • Learn how to use the Angular directives for creating forms.
  • Know how Angular forms can be validated, client-side validation.

Demo

All code will be included in the index.html.

(Not great, but will get us through these simple demo files.)

The below is a recap of this article, Angular JS Forms.

Work thru these files in order. (See the *_done.html for finished versions)

  • simple_input_form.html
  • simple_checkbox_form.html
  • simple_radio_form.html
  • simple_select_form.html
  • complex_select_form.html
  • complex_select2_form.html
  • length_valid_form.html
  • regexp_valid_form.html
  • required_valid_form.html
  • field_state_form.html

Lab

Refactor the field_state_form to seperate the controller, view and css.

Lab

Back End

Create a backend Rails API using the rails-api gem. It should return a set of people where each person has a first/last name, age, agreement status, newletter subscription status and car make the person is interested in.

Front End

Show a list or table of all these people in the angular client side code.

Create new people using the form we worked on above. (Add client and server side validations)

Documentation

Angular JS Forms

AngularJS

API Documentation

This is like the $.ajax in JQuery.
Ajax HTTP Service

wdi_9_angular_demo_forms's People

Contributors

tdyer avatar

Watchers

James Cloos avatar Max Kohl 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.