阅读背景:

将模块隐藏在闭包内的原因是什么?

来源:互联网 

As an example:

举个例子:

(function() {
  angular.module('Base', []).controller('BaseController', function($scope) {
    $scope.mixin1 = function() {};
  })
})();
(function() {
  angula



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: