Fix to make angular and jquery use the same attribute "type" to specify
which spinner to show.