Adding scope to the checkbox element