Jade creates the html used in the server side browser. The browser makes a request to the web server, the web server runs Jade, which will generate the html that will be sent to the browser. This generation of server-side content has been very common over the past 20 years, but it has many drawbacks when creating a rich Internet application. This is mainly due to monitoring the performance and status of the client.
AngularJS is client-side MVC / MVVM, for example, for creating the so-called Single Page Applications (SPA), which allows you to have a full stream of user interface, all content creation and state tracking should be done on the client side. It even allows you to create standalone applications. From the developer's point of view, this is much more like creating a desktop application in which the client knows the state of the user interface. From the point of view of the user, the website will respond much more smoothly and smooth, because the user interface is created locally.
Note. SPA does not mean that you can only have one page on your website. This is a technical term when the browser loads a single page (~ / index.html) that contains a full or partial web application. The user technically never leaves this page, but the content (pages) dynamically swaps and leaves this placeholder page.
The most common way to provide data to the SPA is provided by RESTful web services. AngularJS comes with built-in support for REST.
Some developers are combining server-side content generation technologies with AngularJS, but there is really no real need for this.
null Jan 08 '14 at 8:34 2014-01-08 08:34
source share