testing ng-attr-action