Hi,
I have a problem with Directive ng-disabled and precisely: 
- If you will use: 

> <li class="previous" ng-class="disabled: currentPage == 1"> 
>      <a href="javascript:void(0);"> «</ a> 
> </ li> 

it does not work 

- If you will use: 

> <li ng-disabled="currentPage == 1"> 
>      <a href="javascript:void(0);"> «</ a> 
> </ li> 

it also does not work 

- But if you will use: 

> <li class="next disabled"> 
>     <a href="javascript:void(0);"> »</ a>  

</ li> 

it works but want to let it enter only for the first and last pages. 

code with JSFiddle: http://jsfiddle.net/rogal180/vB2x6/24/ 
Please help

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