**I'm submitting a ...**  (check one with "x")
```
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead 
see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
```

**Current behavior**

I have a directive.

```
@Component({
  selector: 'interfaces',
  template: '<p>child</p>'
})
class InterfaceList {
  doSomething() {
      alert('=========');
  }
}

```

> add drective interfaces on the fly

```
public showInterfaces(event, device){
        var $tr = $(event.target).closest('tr');
        var $td = $(`
                <tr> 
                    <td colspan='4'>sfdsdfsdf</td>
                </tr>
        `);
        $td.insertAfter($tr);
        $td.find('td').html(function(){
            return '<interfaces></interfaces>';
        });
    }
```

* questions:

> how should i compile it.


* **Angular version:** 2.0.0-rc.4
 
* **Browser:** [all ] 
 
* **Language:** [all | TypeScript | ES6] 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to