angularjs - Angular 2 bootsrap app component without template/template is served with html -
i used build applicaitons angular1, there possible have directives on allready loaded dom elements, have main component (app), wich build loaded html , inside can load directives ether loaded html or load url.
howewer in angular2 seems bootsrap application have use component requires me have template/templateurl, think not nessesery since don't want load seperatly menues , other common stuff, rather on server level laoding seperatly. knows how achive in angular2?
in angular2 need bootstrap component , component needs have view. directives can't bootstrapped. directives can't added or removed dynamically, applied static html in components view matches selector.
to me sounds use case angular1 better fit.
Comments
Post a Comment