How can i reduce the items number for mobile devices?

Posted in Plugins by Victoria Morales Thu Sep 29 2016 09:47:03 GMT+0000 (Coordinated Universal Time)·5·Viewed 1,105 times

Hi Jonny, how can we reduce the items number in our Facebook News Feed for mobile devices?
Sep 29, 2016

Hello Victoria,

it's very easy. I've made an example on plnkr for you:

You should create a controller and add a new scope variable (plnkr: app.js). Now you can change the mobile-value of the variable very easy in the javascript part.
Then you should use this variable in the aping call (plnkr: index.html)

If you have more questions or something to this topic, you can ask here or just join the gitter channel for instant support:

Have a nice day,

marked this as solved
Sep 29, 2016

btw: don't forget to use the controller in your app ;)

Sep 29, 2016

Thanks, is working!

Oct 5, 2016

Victoria, could you tell me the production url of this project? So I could add this page to the live-references section on

Oct 5, 2016

Hi Jonny is not live jet, i'll tell you when it is.

Markdown is allowed