When creating a digital service today, there are various options to bring it on the devices of the user, that is various OSes for desktop computers, tablets and smartphones. And there is the web – as a platform. However, developing native as also for the web raises the question how to get your data to the user. Using a native app, you build the app and just load the data with API calls. With a web app or site you create the page on the server and send it to the browser. If you want to support both “platforms” you have two implementations to get data to the user.
Thanks to angularJS you don’t have to do that anymore. With angularJS you can also load the data via API to “construct” your page. So, let’s look at an easy to understand example: expandable FAQs. Usually you can send only the question and the answer via JSON to an app. On the web you would have created server code that renders the faq page and then sends it to the user. Using angularJS you can also load the faq from your backend and dynamically create your HTML page.