using angular instead of checkbox

This should help with migrating this to other browsers.