我有一个使用角度扩展的控制器。我如何测试角度延伸?
angular.module('conditionmonitor').controller('mapController', ['$scope', '$http', 'UIConfig', function ($scope, $http, UIConfig) {
angular.extend($scope, {
center: {
lat: UIConfig.LATITUTE,
lng: UIConfig.LONGITUDE,
zoom: UIConfig.ZOOMLEVEL
},
markers: $scope.markers,
layers: $scope.layers,
defaults: {
scrollWheelZoom: true
}
});