I am trying to connect twitter API from angularJS i am not able to. can anyone please help me on this : how to connect twitter api from angularJS. 


    $http.get('https://api.twitter.com/1.1/search/tweets.json).then(function(data){
    $scope.data = data;
    },
    function(error){
    });