Updated directives to use new angular 1.3 feature: bindToController