Angular replacement for jQueryUJS data-method