resizing image with angular and javascript
Use example:
<img ng-src="{{imageUrl}}" image-resize image-percent="50" />
That will return an base64 to the image src attribute
This was inspired from
http://blog.liip.ch/archive/2013/05/28/resizing-images-with-javascript.html