fix(ui-sref): replace raw href modification with attrs.$set

Fix #1171