I have a large paragraph for example, it may contain more than 300 characters or less than that.
What I need to do is, I need to take first 25 characters and add "...." after that 25th character and display that value above my image.
Once user clicks the image I will show the entire paragraph.
<section class="showContents">
<div class="image" ng-repeat="imageSrc in stories track by $index">
<img class="images" ng-src="{{stories[$index]}}" style="cursor: pointer;" ng-click="showStories($index)">
<button class="styleTheSelection dropdown-toggle" data-toggle="dropdown"><b>{{storyTitle[$index]}}</b> <img src="css/images/more_p.png" class="styleTheBtn">
</button>
</div>
</section>