It might help you!!!!
http://www.linkedin.com/groups/scope-vs-scope-in-angularjs-4896676.S.5936126720850567172?trk=group_item_detail-b-show_lks-cmt

Thank you!

On Thursday, November 6, 2014 6:08:54 AM UTC+5:30, KamBha wrote:
>
> Hi,
> We have a requirement that we have a form that has to run in an "edit" 
> mode and "view" mode.  In edit mode, all fields are disabled.  Compounding 
> this, we also have a situation where certain fields need to be disabled 
> until a checkbox is enabled.  The solution I came up with is available in 
> the plunkr below.  The basic idea is that we have a view status object that 
> has its own custom scope and all elements watch for changes on the custom 
> scope.  This could be a problem from a performance perspective, so I want 
> to confirm if anyone has any ideas or comments about this behaviour?
>
> Thanks.
>
> Kamal.
>
> http://plnkr.co/edit/avyHPAfb7PrcLBHOxZPr?p=preview
>

-- 
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