How can i share text in ionic


#1

hi every body
i tray to share some text import from json file in app
this code

    <ion-view view-title="details">
	<ion-content ng-controller="UnionsController">
		<div class="list list-inset card cardNew" ng-repeat="item in unions  | filter: { Name : whichunions}">
			<div class="item item-body">
                <a onclick="window.plugins.socialsharing.share('{{item.Name}}', 
null, null, null)">
                <button class="button icon ion-android-share-alt button-stable"></button>
                </a>
				<h2>{{item.Name}}</h2>
                <p>{{item.Adress}}</p>
			</div>
        </div>
	</ion-content>
</ion-view>

how can i share this {{item.Name}}
thanks