Intro
I remember working with JS and using Angular framework, back in 2014/2015, and it was quite interesting to use the ng-app directive. But I actually never saw what was behind this directive on the html.
Angular directives – ng-app directives
Actually, after seeing the init function, we verify that you can use more than one directive to start Angular framework. Be careful though, some validators DOES NOT RECOGNIZE ALL THEM. – if that’s the case, please declare a namespace
<html xmlns:ng="http://angularjs.org" ng-app>
This function takes the following names (angular directives)
names = [‘ng:app’, ‘ng-app’, ‘x-ng-app’, ‘data-ng-app’]
REFs
inline