I am new to angularJS,  and the following logic  comes to my  mind: 

http://docs.angularjs.org/api/ng.directive:ngIf  or ng-show, and ng-hide

<div ng-if="{{expression}}">
    <!-- code to render for module 1--></div><div ng-if="{{expression}}">
    <!-- code to render module 2 --></div>




On Thursday, February 13, 2014 8:39:06 AM UTC-5, Pushpendra Kumar wrote:
>
> Hello All,
>
>                I am working on am large project where I am using same html 
> template for multiple modules.
>                Everything is okay but I want to call different function on 
> ng-click and ng-submit for each module.
>                Can you please suggest me the way, by which I can achieve 
> this.
>
> Thanks in advance,
> Pushpendra
>

-- 
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/groups/opt_out.

Reply via email to