samedi 12 novembre 2016

How to write if condition in Angular Controller

There are two kind of buttons, let's say group one and group two. in group one there are 2 buttons and in group two there are 3 buttons. Each of these buttons are supposed to send a unique id. Now the question is how to retrieve the buttons' id and also how to specify the following condition? for example, if button1 from first group is active and if button2 from second group is active, then do something and so on. The condition would be applied based on actions between these two groups.

Aucun commentaire:

Enregistrer un commentaire