Some custom AngularJS directives.