For example if I give tags in angular2 component it should render as if it were written in Ionic framework itself like we do in normally
Not sure I follow?
Are you asking how to use ionic components inside of a custom ng2 @Component
?
hi @yoyodj
If You want to use ionic component inside custom/reusable ng2 component, you have to specify IONIC_DIRECTIVES in directives property of @Component Decorator, then it will render as expected.
import {IONIC_DIRECTIVES} from 'ionic-angular';
@Component({
directives: [IONIC_DIRECTIVES]
})