Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

HTML (Angular binding)

 <p id="eventDescription">{{MyEvent.Item.Description}}</p>

JS (this code snippet also inside the above HTML file)

<script>
    $(window).load(function () {
        $('#eventDescription').expander();
    });

</script>

I do have an Angular Controller file also.

Question : I'm trying to use jQuery Expander Plugin to show "read more.." when there is more content on it.My problem is, it's not working with the angular binding text as shown above.But if I put a static text then it's Woking properly.So How can I use this plugin with angualrjs ?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.