This is not for angular manual boot, it is for angular automatic boot. The xmlns namespace is optional, but probably a good practice as it identifies the HTML page using angular JS and is part of the current documentation for automatic initialization.
https://docs.angularjs.org/guide/bootstrap
At the same time, angular no longer recommends using the XML namespace to access its ng: elements (preferably ng- or data-ng-), so the namespace is actually no longer used in practice. All the same, it doesnβt hurt to leave it as an identifier.
source share