AngularJS: Behaviors via directive