Port of ng-attr-foo from angular-js

Angularjs docs here: http://docs.angularjs.org/guide/directive (ngAttr attribute bindings)