Use AngularJS style attribute names

Allow using attribute names with dashes and lower cases,
eg., 'refresh-on-change' and 'refresh-on-resize'.