How to share post on twitter along with post details by using angularJS/javascript
问题 I have created a website by using AngujarJS/JavaScript technology (front-end). How can I share posts on twitter? I created meta data in index.html, need to share posts details. When I click the twitter button, that button should be hit on JavaScript method shareOnTW *$scope.shareOnTW = function(imgs) $scope.shareOnTW = function(imgs){ // Opens a pop-up with twitter sharing dialog var shareURL = "http://twitter.com/share?"; //url base //params var params = { 'og:url': "https://krishnafortoday