Skip to Content
0
Feb 26, 2018 at 08:10 AM

Why does these two statements differ in Angular js and SAP Ui5

157 Views Last edit May 26, 2020 at 02:28 PM 2 rev

Hello Everybody

I am trying to learn SAP Ui5 by comparing it with angular js

So in a simple Hello World Program

I find that the Angular just is using a statement

<html ng-app='helloapp'>

As per my understanding this is done to tell the computer that this is the root node of the html page .

But in SAP UI5 we are using the statement

<html lang="en">

This statement feels like it more dealing with the language rather than defining the root node of the page .

Could someone explain me the anomaly, since this is the first time I am diving into web development .