Fix ui-bootstrap not finding template
Add class
Update count
Change accessor logic