dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Semantic Web
Expertise: Intermediate
Feb 28, 2020

Perform ng-click on a Condition in AngularJs

Add the check along with the function call, as in the example below.

<iv ng-click="user.IsAdmin () && clickFunction()">Admin Function </div>
Srinath M S
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date