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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -