using angulars extend
using angular's bind
move images to media