It would be ideal to only put items that are connected to the view inside 
the $scope. There is no point in having that "getJSON" function in there, 
it'll just add extra operations to the digest cycle.

On Thursday, 1 May 2014 07:09:15 UTC+1, Tha Sophearak wrote:
>
> thanks you very much, I'm nearly out of that right now.
>
> On Thursday, 1 May 2014 10:18:45 UTC+7, Sander Elias wrote:
>>
>> Hi Tha,
>>
>> I updated your plunker to implement the thing I talked about in my 
>> previous message. I left the implementation of the setPage and previous 
>> button for yourself.
>> If you can get the maxItems from the server, you are pretty much done.
>>
>> Regards
>> Sander
>>
>

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