Update directive.ngdoc

For the 'Creating a Directive that Manipulates the DOM' example, the origin old seems not working. First, the $interval service cannot be found. Second, the 'element' does not have a 'on' method.