How to extend an existing directive in angularjs