Hello,

I am a newbie to angularJS and I need help with one of the requirements 
that I have.

I am using MEAN stack with bootstrap for front end coding.  I have a 
subject section which has few sub fields in it.

subject:[{
   firstName
   lastName
   DOB
   age
   phoneNumber
   email
}]

And we can have multiple subject entries..So subject will be like an array 
of objects.  How can I :-
1.  Define this in mongoDB.
2.  Push data into this angular way
3.  Retrieve it and show to the users.

Also subject section has a button and clicking it should open up another 
section with same set of fields and users can enter multiple subjects.

It should behave like a FormSet.  

SUBJECT
        0-
           firstName
           lastName
           DOB
           age
           phoneNumber
       1-
          firstName
           lastName
           DOB
           age
           phoneNumber
      2-
         firstName
           lastName
           DOB
           age
           phoneNumber
           email

I would appreciate any help in this regards.

Thanks in advance.

-Suma

-- 
CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
confidential and privileged information intended only for the addressee.
If you are not the intended recipient, please be advised that you have
received this material in error and that any forwarding, copying, printing,
distribution, use or disclosure of the material is strictly prohibited.
If you have received this material in error, please (i) do not read it,
(ii) reply to the sender that you received the message in error, and
(iii) erase or destroy the material. Emails are not secure and can be
intercepted, amended, lost or destroyed, or contain viruses. You are deemed
to have accepted these risks if you communicate with us by email. Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to