let script document createElement script script src https code angularjs org 1 6 9 angular js document body appendChild script window angular undefined document body setAttribute ng app app let h1 document createElement h1 document body appendChild h1 h1 setAttribute ng controller HelloWorldCtrl h1 innerHTML message onload function angular module app controller HelloWorldCtrl function scope scope message Hello World console log window angular window angular undefined let script document createElement script script src https ajax googleapis com ajax libs angularjs 1 6 9 angular min js document body appendChild script let div document createElement div div setAttribute ng app document body appendChild div let p document createElement p p innerHTML Name div appendChild p let input document createElement input input type text input setAttribute ng model name p appendChild input let h1 document createElement h1 div appendChild h1 h1 innerHTML Hello name window angular undefined let script document createElement script script src https ajax googleapis com ajax libs angularjs 1 6 9 angular min js document body appendChild script let div document createElement div div setAttribute ng app document body appendChild div let p document createElement p p innerHTML A test expression 5 5 div appendChild p
div setAttribute ng app document body appendChild div let p document createElement p p innerHTML Name div appendChild p let input document createElement input input type text input setAttribute ng model name p appendChild input let h1 document createElement h1 div appendChild h1 h1 innerHTML Hello name window angular undefined let script document createElement script script src https ajax googleapis com ajax libs angularjs 1 6 9 angular min js document body appendChild script let div document createElement div div setAttribute ng app document body appendChild div let p document createElement p p innerHTML A test expression 5 5 div appendChild p