use optional isolated scope instead of ng-model for binding the directive's state. Fixes #9.