JSFiddle - React, Tailwind, and code Playground

JavaScript

var vm = this;

vm.views = [];
vm.URL = 'http://www.bbc.co.uk'

$http.post(URL, params)
    .then(function(res){
        angular.forEach(res.data.items, function (item){
            vm.views.push(item);
        })
    })