ã¡ã¢æ¸ããä½ãçºè¦ãããã³ã«æ´æ°ãã¦ã¾ãã åã£ã¦ãããã©ããã¯åãããªã話 ä¸è¨ã¯å¤ã(ãã¤ããï¼)AngularJSã®è¨è¿°æ¹æ³ã§ãã ng-controllerã¯windowãªãã¸ã§ã¯ãç´ä¸ã®é¢æ°ãè¦ãªããªãã¾ããã var app = angular.module('app', []); app.controller('con', function($scope){});ng-controllerã®ååã®æå®ã¯ãangular.module().controllerã®ç¬¬ä¸å¼æ°ã§æå®ãã¾ãã view ng-modelå±æ§ ã³ã³ããã¼ã©ã¼ã®$scopeã®ãªãã¸ã§ã¯ãã¨ä¸è´ããã <div ng-controller="con"> <input type="text" ng-model="a.b" /> <input type="text" ng-model="c" /> </div>
{{#tags}}- {{label}}
{{/tags}}