AngularJS directive that watches for attribute change
Project
app.js
index.html
style.css

backing Plunker

index.html
Preview