varapp=angular.module('app',[]);app.controller('commonCtrl',function($scope){$scope.data.chart=[xxxxx];//$scope.data=[xxxxx];})//這2種在$scope上面不同的賦值方法有什么實(shí)際的區(qū)別呢?
AngularJS $scope的賦值類型
翻閱古今
2019-04-19 16:30:01