Fixed scanner for new Angular-Bootstrap API