var app = angular.module("myApp", []);
app.controller('firstController',['$scope',function($scope){
$scope.name='张三';
$scope.age='40';
}]);
var app = angular.module("myApp", []);
app.controller('firstController',['$scope',function($scope){
$scope.name='张三';
$scope.age='40';
}]);
本文标题:AngularJS依赖注入中代码压缩
本文链接:https://www.haomeiwen.com/subject/uxkiextx.html
网友评论