Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <td ng-if="item.name.match(new RegExp(/.png|.jpg|.jpeg/, 'gi')).length"><img ng-src="/uploads/{{item.name}}"></td>
- <td ng-if="!item.name.match(new RegExp(/.png|.jpg|.jpeg/, 'gi')).length">No image</td>
Add Comment
Please, Sign In to add comment