标签: angularjs angularjs-scope
Angular的范围与模型有何不同?
var app = angular.module('myApp', []); app.controller('myCtrl', function($scope) { $scope.name = "myname"; });
名称存在于范围或模型中?