11/**
2- * @license AngularJS v1.5.0-build.4262 +sha.9e83b83
2+ * @license AngularJS v1.5.0-build.4263 +sha.7dcfe5e
33 * (c) 2010-2015 Google, Inc. http://angularjs.org
44 * License: MIT
55 */
@@ -57,7 +57,7 @@ function minErr(module, ErrorConstructor) {
5757 return match;
5858 });
5959
60- message += '\nhttp://errors.angularjs.org/1.5.0-build.4262 +sha.9e83b83 /' +
60+ message += '\nhttp://errors.angularjs.org/1.5.0-build.4263 +sha.7dcfe5e /' +
6161 (module ? module + '/' : '') + code;
6262
6363 for (i = SKIP_INDEXES, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {
@@ -2356,7 +2356,6 @@ function toDebugString(obj) {
23562356 $TemplateCacheProvider,
23572357 $TemplateRequestProvider,
23582358 $$TestabilityProvider,
2359- $TimeProvider,
23602359 $TimeoutProvider,
23612360 $$RAFProvider,
23622361 $WindowProvider,
@@ -2381,7 +2380,7 @@ function toDebugString(obj) {
23812380 * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
23822381 */
23832382var version = {
2384- full: '1.5.0-build.4262 +sha.9e83b83 ', // all of these placeholder strings will be replaced by grunt's
2383+ full: '1.5.0-build.4263 +sha.7dcfe5e ', // all of these placeholder strings will be replaced by grunt's
23852384 major: 1, // package task
23862385 minor: 5,
23872386 dot: 0,
@@ -2515,7 +2514,6 @@ function publishExternalAPI(angular) {
25152514 $templateCache: $TemplateCacheProvider,
25162515 $templateRequest: $TemplateRequestProvider,
25172516 $$testability: $$TestabilityProvider,
2518- $date: $DateProvider,
25192517 $timeout: $TimeoutProvider,
25202518 $window: $WindowProvider,
25212519 $$rAF: $$RAFProvider,
@@ -17843,50 +17841,6 @@ function $$TestabilityProvider() {
1784317841 }];
1784417842}
1784517843
17846- /**
17847- * @ngdoc service
17848- * @name $date
17849- * @requires $window
17850- *
17851- * @description
17852- * Simple service for accessing date.
17853- *
17854- * The main purpose of this service is to simplify mocking date in tests.
17855- *
17856- * @example
17857- <example module="dateExample">
17858- <file name="script.js">
17859- angular.module('dateExample', [])
17860- .controller('TimeController', ['$scope', '$date', function($scope, $date) {
17861- $scope.now = $date.now();
17862- }]);
17863- </file>
17864- <file name="index.html">
17865- <div ng-controller="TimeController">
17866- <p>Time when the page was created: {{now | date}}</p>
17867- </div>
17868- </file>
17869- </example>
17870- */
17871- function $DateProvider() {
17872- var self = this;
17873-
17874- this.$get = ['$window', function($window) {
17875- return {
17876- /**
17877- * @ngdoc method
17878- * @name $date#now
17879- *
17880- * @description
17881- * Return Date object representing current date
17882- */
17883- now: function() {
17884- return $window.Date();
17885- }
17886- };
17887- }];
17888- }
17889-
1789017844function $TimeoutProvider() {
1789117845 this.$get = ['$rootScope', '$browser', '$q', '$$q', '$exceptionHandler',
1789217846 function($rootScope, $browser, $q, $$q, $exceptionHandler) {
0 commit comments