AngularJS: add attribute based on watch -- From http://stackoverflow.com/questions/14886174/angular-equivalent-of-ngclass-for-custom-attributes