最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[记录]angularjs介绍

JS crifan 1907浏览 0评论

AngularJS中文网

AngularJS — Superheroic JavaScript MVW Framework

Introduction to AngularJS

使用超动感HTML & JS开发WEB应用! | AngularJS中文社区

之前看到ng-app,需要去搞懂是什么意思:

搜:

what is ng-app

AngularJS: API: ngApp

“The ngApp directive designates the root element of the application and is typically placed near the root element of the page – e.g. on the <body> or <html> tags.”

Introduction to AngularJS

“AngularJS extends HTML with ng-directives.

The ng-app directive defines an AngularJS application.

The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.

The ng-bind directive binds application data to the HTML view.

【总结】

ng-app 表示:是AngularJS的程序

转载请注明:在路上 » [记录]angularjs介绍

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.178 seconds, using 22.06MB memory