I have in my htm page a table with columns using AngularJs.
I want to put the text in tooltip if the text in column is more than 8 characters
this is my column :
<td>
<i class="column3">
{{stoneEntity.StoneProperties.StockId}}
</i>
</td>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use a directive like this:
Note: For the sake of simplicity, the
MAX_SIZEis being defined inside the directive but you can change it and receive the max size as a parameter.jsFiddle: http://jsfiddle.net/bmleite/h5Np6/