On Angular 4, are controllers executed on the browser or server? -
i building angular 4 app. local development running app using ng serve
.
it seems angular running in browser. ng serve
development tool? possible run angular controllers on server , not browser?
angular indeed front end framework, , such runs in browser. ng serve
runs webpack development server can see application looks without having spin separate webserver , bundle code. when deploy, you'll have existing webserver host angular code, controllers responsible client side (browser) markup. server side routing (controllers on server), wouldn't use angular sort of server side web framework. example, can use nodejs on server side server side controllers (often times these return json data angular app work with).
Comments
Post a Comment