When using a controller with a directive it is recommended to use the controllerAs attribute/syntax, see John Papa style guide. But if we use an isolated scope in our directive, how do we get the isolated scope properties into our controller?
As you can see our RikDirectiveCtrl has to have the $scope injected, which is what we were trying to avoid doing using the controllerAs attribute/syntax.
##Angular 1.3 to the Rescue
In Angular 1.3 they introduced the bindToController property (which is false by default). Set this property to true and Angular automatically puts properties specified on the isolated scope onto the this of the controller and ensures they are updated as necessary.