People need to be able to add meetings to our database, so in this video, we'll create a form that allows you to use Angular's validation features to add message information to your application.
- [Narrator] So it's time to start working…on the functionality of our application.…We'll start by modifying our meeting's view…so that people can add meeting information…to the database.…So let's go into meetings.html,…and I'm going to take off this message right here,…and next up I'm going to create a form.…This is going to have a few classes,…so formgroup, addmeeting, and cf.…These don't really have anything to do with angularJS.…
They are really my own styles…that I can added to this style.css file…to make this form look nice.…We don't need an action because…angularJS is going to be controlling this form,…but we will need a name for the form,…so we'll go ahead and give it a name of myform,…and then we'll use an ng-submit directive,…so this is sort of what you would use…instead of the action directive for a form.…To submit a form with angular you use ng-submit,…and then you say which method do you want to use…to submit this form.…
So we'll call this one addMeeting.…We haven't created this one yet,…but we will later on,…
Learn how to create forms, edit database records, create methods, randomize record selections, and style and secure your app. With these project-based lessons, you'll learn how to see how data-driven programming with AngularJS can help your apps react to real-time data streams.
- Customizing an Angular template
- Adding forms to create meetings and check in users
- Adding, showing, and deleting database records
- Using events to track meetings
- Adding a form to the app
- Creating methods
- Randomizing prizes
- Creating conditional styles
- Managing app permissions