angular-gem 1.2.10 → 1.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/angular-gem/version.rb +1 -1
- data/vendor/assets/javascripts/1.2.11/angular-animate.js +1486 -0
- data/vendor/assets/javascripts/1.2.11/angular-cookies.js +202 -0
- data/vendor/assets/javascripts/1.2.11/angular-loader.js +410 -0
- data/vendor/assets/javascripts/1.2.11/angular-mocks.js +2165 -0
- data/vendor/assets/javascripts/1.2.11/angular-resource.js +596 -0
- data/vendor/assets/javascripts/1.2.11/angular-route.js +921 -0
- data/vendor/assets/javascripts/1.2.11/angular-sanitize.js +625 -0
- data/vendor/assets/javascripts/1.2.11/angular-scenario.js +32763 -0
- data/vendor/assets/javascripts/1.2.11/angular-touch.js +563 -0
- data/vendor/assets/javascripts/1.2.11/angular.js +20757 -0
- data/vendor/assets/javascripts/angular-animate.js +2 -5
- data/vendor/assets/javascripts/angular-cookies.js +1 -1
- data/vendor/assets/javascripts/angular-loader.js +2 -2
- data/vendor/assets/javascripts/angular-mocks.js +3 -3
- data/vendor/assets/javascripts/angular-resource.js +1 -1
- data/vendor/assets/javascripts/angular-route.js +3 -3
- data/vendor/assets/javascripts/angular-sanitize.js +1 -1
- data/vendor/assets/javascripts/angular-scenario.js +55 -89
- data/vendor/assets/javascripts/angular-touch.js +1 -1
- data/vendor/assets/javascripts/angular.js +55 -89
- metadata +11 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.9
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -834,10 +834,7 @@ angular.module('ngAnimate', ['ng'])
|
|
834
834
|
}
|
835
835
|
|
836
836
|
function fireDoneCallbackAsync() {
|
837
|
-
async(
|
838
|
-
fireDOMCallback('close');
|
839
|
-
doneCallback && doneCallback();
|
840
|
-
});
|
837
|
+
doneCallback && async(doneCallback);
|
841
838
|
}
|
842
839
|
|
843
840
|
//it is less complicated to use a flag than managing and cancelling
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.9
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -69,7 +69,7 @@ function minErr(module) {
|
|
69
69
|
return match;
|
70
70
|
});
|
71
71
|
|
72
|
-
message = message + '\nhttp://errors.angularjs.org/1.2.
|
72
|
+
message = message + '\nhttp://errors.angularjs.org/1.2.9/' +
|
73
73
|
(module ? module + '/' : '') + code;
|
74
74
|
for (i = 2; i < arguments.length; i++) {
|
75
75
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.9
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -386,7 +386,7 @@ angular.mock.$LogProvider = function() {
|
|
386
386
|
*
|
387
387
|
* @example
|
388
388
|
* <pre>
|
389
|
-
* $log.
|
389
|
+
* $log.log('Some Error');
|
390
390
|
* var first = $log.error.logs.unshift();
|
391
391
|
* </pre>
|
392
392
|
*/
|
@@ -1736,7 +1736,7 @@ angular.mock.$RootElementProvider = function() {
|
|
1736
1736
|
* In addition, ngMock also extends various core ng services such that they can be
|
1737
1737
|
* inspected and controlled in a synchronous manner within test code.
|
1738
1738
|
*
|
1739
|
-
* {@installModule
|
1739
|
+
* {@installModule mocks}
|
1740
1740
|
*
|
1741
1741
|
* <div doc-module-components="ngMock"></div>
|
1742
1742
|
*
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license AngularJS v1.2.
|
2
|
+
* @license AngularJS v1.2.9
|
3
3
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
4
4
|
* License: MIT
|
5
5
|
*/
|
@@ -190,7 +190,7 @@ function $RouteProvider(){
|
|
190
190
|
|
191
191
|
path = path
|
192
192
|
.replace(/([().])/g, '\\$1')
|
193
|
-
.replace(/(\/)?:(\w+)([
|
193
|
+
.replace(/(\/)?:(\w+)([\?|\*])?/g, function(_, slash, key, option){
|
194
194
|
var optional = option === '?' ? option : null;
|
195
195
|
var star = option === '*' ? option : null;
|
196
196
|
keys.push({ name: key, optional: !!optional });
|
@@ -375,7 +375,7 @@ function $RouteProvider(){
|
|
375
375
|
* @eventType broadcast on root scope
|
376
376
|
* @description
|
377
377
|
* Broadcasted before a route change. At this point the route services starts
|
378
|
-
* resolving all of the dependencies needed for the route change to
|
378
|
+
* resolving all of the dependencies needed for the route change to occurs.
|
379
379
|
* Typically this involves fetching the view template as well as any dependencies
|
380
380
|
* defined in `resolve` route property. Once all of the dependencies are resolved
|
381
381
|
* `$routeChangeSuccess` is fired.
|
@@ -9790,7 +9790,7 @@ if ( typeof module === "object" && module && typeof module.exports === "object"
|
|
9790
9790
|
})( window );
|
9791
9791
|
|
9792
9792
|
/**
|
9793
|
-
* @license AngularJS v1.2.
|
9793
|
+
* @license AngularJS v1.2.9
|
9794
9794
|
* (c) 2010-2014 Google, Inc. http://angularjs.org
|
9795
9795
|
* License: MIT
|
9796
9796
|
*/
|
@@ -9860,7 +9860,7 @@ function minErr(module) {
|
|
9860
9860
|
return match;
|
9861
9861
|
});
|
9862
9862
|
|
9863
|
-
message = message + '\nhttp://errors.angularjs.org/1.2.
|
9863
|
+
message = message + '\nhttp://errors.angularjs.org/1.2.9/' +
|
9864
9864
|
(module ? module + '/' : '') + code;
|
9865
9865
|
for (i = 2; i < arguments.length; i++) {
|
9866
9866
|
message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
|
@@ -11626,11 +11626,11 @@ function setupModuleLoader(window) {
|
|
11626
11626
|
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
|
11627
11627
|
*/
|
11628
11628
|
var version = {
|
11629
|
-
full: '1.2.
|
11629
|
+
full: '1.2.9', // all of these placeholder strings will be replaced by grunt's
|
11630
11630
|
major: 1, // package task
|
11631
11631
|
minor: 2,
|
11632
|
-
dot:
|
11633
|
-
codeName: '
|
11632
|
+
dot: 9,
|
11633
|
+
codeName: 'enchanted-articulacy'
|
11634
11634
|
};
|
11635
11635
|
|
11636
11636
|
|
@@ -13072,9 +13072,11 @@ function annotate(fn) {
|
|
13072
13072
|
* @param {(Object|function())} provider If the provider is:
|
13073
13073
|
*
|
13074
13074
|
* - `Object`: then it should have a `$get` method. The `$get` method will be invoked using
|
13075
|
-
*
|
13076
|
-
*
|
13077
|
-
*
|
13075
|
+
* {@link AUTO.$injector#invoke $injector.invoke()} when an instance needs to be
|
13076
|
+
* created.
|
13077
|
+
* - `Constructor`: a new instance of the provider will be created using
|
13078
|
+
* {@link AUTO.$injector#instantiate $injector.instantiate()}, then treated as
|
13079
|
+
* `object`.
|
13078
13080
|
*
|
13079
13081
|
* @returns {Object} registered provider instance
|
13080
13082
|
|
@@ -16853,14 +16855,31 @@ function $HttpProvider() {
|
|
16853
16855
|
* XMLHttpRequest will transparently follow it, meaning that the error callback will not be
|
16854
16856
|
* called for such responses.
|
16855
16857
|
*
|
16858
|
+
* # Calling $http from outside AngularJS
|
16859
|
+
* The `$http` service will not actually send the request until the next `$digest()` is
|
16860
|
+
* executed. Normally this is not an issue, since almost all the time your call to `$http` will
|
16861
|
+
* be from within a `$apply()` block.
|
16862
|
+
* If you are calling `$http` from outside Angular, then you should wrap it in a call to
|
16863
|
+
* `$apply` to cause a $digest to occur and also to handle errors in the block correctly.
|
16864
|
+
*
|
16865
|
+
* ```
|
16866
|
+
* $scope.$apply(function() {
|
16867
|
+
* $http(...);
|
16868
|
+
* });
|
16869
|
+
* ```
|
16870
|
+
*
|
16856
16871
|
* # Writing Unit Tests that use $http
|
16857
|
-
* When unit testing
|
16858
|
-
*
|
16859
|
-
*
|
16872
|
+
* When unit testing you are mostly responsible for scheduling the `$digest` cycle. If you do
|
16873
|
+
* not trigger a `$digest` before calling `$httpBackend.flush()` then the request will not have
|
16874
|
+
* been made and `$httpBackend.expect(...)` expectations will fail. The solution is to run the
|
16875
|
+
* code that calls the `$http()` method inside a $apply block as explained in the previous
|
16876
|
+
* section.
|
16860
16877
|
*
|
16861
16878
|
* ```
|
16862
16879
|
* $httpBackend.expectGET(...);
|
16863
|
-
* $
|
16880
|
+
* $scope.$apply(function() {
|
16881
|
+
* $http.get(...);
|
16882
|
+
* });
|
16864
16883
|
* $httpBackend.flush();
|
16865
16884
|
* ```
|
16866
16885
|
*
|
@@ -18095,7 +18114,7 @@ function $IntervalProvider() {
|
|
18095
18114
|
* In tests you can use {@link ngMock.$interval#methods_flush `$interval.flush(millis)`} to
|
18096
18115
|
* move forward by `millis` milliseconds and trigger any functions scheduled to run in that
|
18097
18116
|
* time.
|
18098
|
-
*
|
18117
|
+
*
|
18099
18118
|
* <div class="alert alert-warning">
|
18100
18119
|
* **Note**: Intervals created by this service must be explicitly destroyed when you are finished
|
18101
18120
|
* with them. In particular they are not automatically destroyed when a controller's scope or a
|
@@ -18208,8 +18227,8 @@ function $IntervalProvider() {
|
|
18208
18227
|
promise = deferred.promise,
|
18209
18228
|
iteration = 0,
|
18210
18229
|
skipApply = (isDefined(invokeApply) && !invokeApply);
|
18211
|
-
|
18212
|
-
count = isDefined(count) ? count : 0
|
18230
|
+
|
18231
|
+
count = isDefined(count) ? count : 0,
|
18213
18232
|
|
18214
18233
|
promise.then(null, null, fn);
|
18215
18234
|
|
@@ -19909,7 +19928,7 @@ Parser.prototype = {
|
|
19909
19928
|
var getter = getterFn(field, this.options, this.text);
|
19910
19929
|
|
19911
19930
|
return extend(function(scope, locals, self) {
|
19912
|
-
return getter(self || object(scope, locals));
|
19931
|
+
return getter(self || object(scope, locals), locals);
|
19913
19932
|
}, {
|
19914
19933
|
assign: function(scope, value, locals) {
|
19915
19934
|
return setter(object(scope, locals), field, value, parser.text, parser.options);
|
@@ -20485,9 +20504,9 @@ function $ParseProvider() {
|
|
20485
20504
|
* asynchronous programming what `try`, `catch` and `throw` keywords are to synchronous programming.
|
20486
20505
|
*
|
20487
20506
|
* <pre>
|
20488
|
-
* // for the purpose of this example let's assume that variables `$q
|
20489
|
-
* //
|
20490
|
-
*
|
20507
|
+
* // for the purpose of this example let's assume that variables `$q` and `scope` are
|
20508
|
+
* // available in the current lexical scope (they could have been injected or passed in).
|
20509
|
+
*
|
20491
20510
|
* function asyncGreet(name) {
|
20492
20511
|
* var deferred = $q.defer();
|
20493
20512
|
*
|
@@ -22420,7 +22439,7 @@ function $SceDelegateProvider() {
|
|
22420
22439
|
*
|
22421
22440
|
* @description
|
22422
22441
|
* Returns an object that is trusted by angular for use in specified strict
|
22423
|
-
* contextual escaping contexts (such as ng-bind-
|
22442
|
+
* contextual escaping contexts (such as ng-html-bind-unsafe, ng-include, any src
|
22424
22443
|
* attribute interpolation, any dom event binding attribute interpolation
|
22425
22444
|
* such as for onclick, etc.) that uses the provided value.
|
22426
22445
|
* See {@link ng.$sce $sce} for enabling strict contextual escaping.
|
@@ -22647,8 +22666,8 @@ function $SceDelegateProvider() {
|
|
22647
22666
|
* It's important to remember that SCE only applies to interpolation expressions.
|
22648
22667
|
*
|
22649
22668
|
* If your expressions are constant literals, they're automatically trusted and you don't need to
|
22650
|
-
* call `$sce.trustAs` on them
|
22651
|
-
* `<div ng-bind-
|
22669
|
+
* call `$sce.trustAs` on them. (e.g.
|
22670
|
+
* `<div ng-html-bind-unsafe="'<b>implicitly trusted</b>'"></div>`) just works.
|
22652
22671
|
*
|
22653
22672
|
* Additionally, `a[href]` and `img[src]` automatically sanitize their URLs and do not pass them
|
22654
22673
|
* through {@link ng.$sce#methods_getTrusted $sce.getTrusted}. SCE doesn't play a role here.
|
@@ -22708,7 +22727,7 @@ function $SceDelegateProvider() {
|
|
22708
22727
|
* matched against the **entire** *normalized / absolute URL* of the resource being tested
|
22709
22728
|
* (even when the RegExp did not have the `^` and `$` codes.) In addition, any flags
|
22710
22729
|
* present on the RegExp (such as multiline, global, ignoreCase) are ignored.
|
22711
|
-
* - If you are generating your
|
22730
|
+
* - If you are generating your Javascript from some other templating engine (not
|
22712
22731
|
* recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),
|
22713
22732
|
* remember to escape your regular expression (and be aware that you might need more than
|
22714
22733
|
* one level of escaping depending on your templating engine and the way you interpolated
|
@@ -22725,7 +22744,7 @@ function $SceDelegateProvider() {
|
|
22725
22744
|
* ## Show me an example using SCE.
|
22726
22745
|
*
|
22727
22746
|
* @example
|
22728
|
-
<example module="mySceApp"
|
22747
|
+
<example module="mySceApp">
|
22729
22748
|
<file name="index.html">
|
22730
22749
|
<div ng-controller="myAppController as myCtrl">
|
22731
22750
|
<i ng-bind-html="myCtrl.explicitlyTrustedHtml" id="explicitlyTrustedHtml"></i><br><br>
|
@@ -22950,8 +22969,8 @@ function $SceProvider() {
|
|
22950
22969
|
*
|
22951
22970
|
* @description
|
22952
22971
|
* Delegates to {@link ng.$sceDelegate#methods_trustAs `$sceDelegate.trustAs`}. As such,
|
22953
|
-
* returns an
|
22954
|
-
* escaping contexts (such as ng-bind-
|
22972
|
+
* returns an objectthat is trusted by angular for use in specified strict contextual
|
22973
|
+
* escaping contexts (such as ng-html-bind-unsafe, ng-include, any src attribute
|
22955
22974
|
* interpolation, any dom event binding attribute interpolation such as for onclick, etc.)
|
22956
22975
|
* that uses the provided value. See * {@link ng.$sce $sce} for enabling strict contextual
|
22957
22976
|
* escaping.
|
@@ -24629,14 +24648,11 @@ var htmlAnchorDirective = valueFn({
|
|
24629
24648
|
element.append(document.createComment('IE fix'));
|
24630
24649
|
}
|
24631
24650
|
|
24632
|
-
if (!attr.href && !attr.
|
24651
|
+
if (!attr.href && !attr.name) {
|
24633
24652
|
return function(scope, element) {
|
24634
|
-
// SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.
|
24635
|
-
var href = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?
|
24636
|
-
'xlink:href' : 'href';
|
24637
24653
|
element.on('click', function(event){
|
24638
24654
|
// if we have no href url, then don't navigate anywhere.
|
24639
|
-
if (!element.attr(href)) {
|
24655
|
+
if (!element.attr('href')) {
|
24640
24656
|
event.preventDefault();
|
24641
24657
|
}
|
24642
24658
|
});
|
@@ -25403,7 +25419,7 @@ var ngFormDirective = formDirectiveFactory(true);
|
|
25403
25419
|
*/
|
25404
25420
|
|
25405
25421
|
var URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/;
|
25406
|
-
var EMAIL_REGEXP = /^[
|
25422
|
+
var EMAIL_REGEXP = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$/;
|
25407
25423
|
var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/;
|
25408
25424
|
|
25409
25425
|
var inputType = {
|
@@ -25703,8 +25719,6 @@ var inputType = {
|
|
25703
25719
|
* @param {string=} name Property name of the form under which the control is published.
|
25704
25720
|
* @param {string=} ngChange Angular expression to be executed when input changes due to user
|
25705
25721
|
* interaction with the input element.
|
25706
|
-
* @param {string} ngValue Angular expression which sets the value to which the expression should
|
25707
|
-
* be set when selected.
|
25708
25722
|
*
|
25709
25723
|
* @example
|
25710
25724
|
<doc:example>
|
@@ -25712,26 +25726,21 @@ var inputType = {
|
|
25712
25726
|
<script>
|
25713
25727
|
function Ctrl($scope) {
|
25714
25728
|
$scope.color = 'blue';
|
25715
|
-
$scope.specialValue = {
|
25716
|
-
"id": "12345",
|
25717
|
-
"value": "green"
|
25718
|
-
};
|
25719
25729
|
}
|
25720
25730
|
</script>
|
25721
25731
|
<form name="myForm" ng-controller="Ctrl">
|
25722
25732
|
<input type="radio" ng-model="color" value="red"> Red <br/>
|
25723
|
-
<input type="radio" ng-model="color"
|
25733
|
+
<input type="radio" ng-model="color" value="green"> Green <br/>
|
25724
25734
|
<input type="radio" ng-model="color" value="blue"> Blue <br/>
|
25725
|
-
<tt>color = {{color
|
25735
|
+
<tt>color = {{color}}</tt><br/>
|
25726
25736
|
</form>
|
25727
|
-
Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
|
25728
25737
|
</doc:source>
|
25729
25738
|
<doc:scenario>
|
25730
25739
|
it('should change state', function() {
|
25731
|
-
expect(binding('color')).toEqual('
|
25740
|
+
expect(binding('color')).toEqual('blue');
|
25732
25741
|
|
25733
25742
|
input('color').select('red');
|
25734
|
-
expect(binding('color')).toEqual('
|
25743
|
+
expect(binding('color')).toEqual('red');
|
25735
25744
|
});
|
25736
25745
|
</doc:scenario>
|
25737
25746
|
</doc:example>
|
@@ -26589,10 +26598,7 @@ var ngModelDirective = function() {
|
|
26589
26598
|
* @name ng.directive:ngChange
|
26590
26599
|
*
|
26591
26600
|
* @description
|
26592
|
-
* Evaluate
|
26593
|
-
* The expression is evaluated immediately, unlike the JavaScript onchange event
|
26594
|
-
* which only triggers at the end of a change (usually, when the user leaves the
|
26595
|
-
* form element or presses the return key).
|
26601
|
+
* Evaluate given expression when user changes the input.
|
26596
26602
|
* The expression is not evaluated when the value change is coming from the model.
|
26597
26603
|
*
|
26598
26604
|
* Note, this directive requires `ngModel` to be present.
|
@@ -27585,7 +27591,6 @@ var ngControllerDirective = [function() {
|
|
27585
27591
|
* an element is clicked.
|
27586
27592
|
*
|
27587
27593
|
* @element ANY
|
27588
|
-
* @priority 0
|
27589
27594
|
* @param {expression} ngClick {@link guide/expression Expression} to evaluate upon
|
27590
27595
|
* click. (Event object is available as `$event`)
|
27591
27596
|
*
|
@@ -27642,7 +27647,6 @@ forEach(
|
|
27642
27647
|
* The `ngDblclick` directive allows you to specify custom behavior on a dblclick event.
|
27643
27648
|
*
|
27644
27649
|
* @element ANY
|
27645
|
-
* @priority 0
|
27646
27650
|
* @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon
|
27647
27651
|
* a dblclick. (The Event object is available as `$event`)
|
27648
27652
|
*
|
@@ -27666,7 +27670,6 @@ forEach(
|
|
27666
27670
|
* The ngMousedown directive allows you to specify custom behavior on mousedown event.
|
27667
27671
|
*
|
27668
27672
|
* @element ANY
|
27669
|
-
* @priority 0
|
27670
27673
|
* @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon
|
27671
27674
|
* mousedown. (Event object is available as `$event`)
|
27672
27675
|
*
|
@@ -27690,7 +27693,6 @@ forEach(
|
|
27690
27693
|
* Specify custom behavior on mouseup event.
|
27691
27694
|
*
|
27692
27695
|
* @element ANY
|
27693
|
-
* @priority 0
|
27694
27696
|
* @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon
|
27695
27697
|
* mouseup. (Event object is available as `$event`)
|
27696
27698
|
*
|
@@ -27713,7 +27715,6 @@ forEach(
|
|
27713
27715
|
* Specify custom behavior on mouseover event.
|
27714
27716
|
*
|
27715
27717
|
* @element ANY
|
27716
|
-
* @priority 0
|
27717
27718
|
* @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon
|
27718
27719
|
* mouseover. (Event object is available as `$event`)
|
27719
27720
|
*
|
@@ -27737,7 +27738,6 @@ forEach(
|
|
27737
27738
|
* Specify custom behavior on mouseenter event.
|
27738
27739
|
*
|
27739
27740
|
* @element ANY
|
27740
|
-
* @priority 0
|
27741
27741
|
* @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon
|
27742
27742
|
* mouseenter. (Event object is available as `$event`)
|
27743
27743
|
*
|
@@ -27761,7 +27761,6 @@ forEach(
|
|
27761
27761
|
* Specify custom behavior on mouseleave event.
|
27762
27762
|
*
|
27763
27763
|
* @element ANY
|
27764
|
-
* @priority 0
|
27765
27764
|
* @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon
|
27766
27765
|
* mouseleave. (Event object is available as `$event`)
|
27767
27766
|
*
|
@@ -27785,7 +27784,6 @@ forEach(
|
|
27785
27784
|
* Specify custom behavior on mousemove event.
|
27786
27785
|
*
|
27787
27786
|
* @element ANY
|
27788
|
-
* @priority 0
|
27789
27787
|
* @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon
|
27790
27788
|
* mousemove. (Event object is available as `$event`)
|
27791
27789
|
*
|
@@ -27809,7 +27807,6 @@ forEach(
|
|
27809
27807
|
* Specify custom behavior on keydown event.
|
27810
27808
|
*
|
27811
27809
|
* @element ANY
|
27812
|
-
* @priority 0
|
27813
27810
|
* @param {expression} ngKeydown {@link guide/expression Expression} to evaluate upon
|
27814
27811
|
* keydown. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)
|
27815
27812
|
*
|
@@ -27831,7 +27828,6 @@ forEach(
|
|
27831
27828
|
* Specify custom behavior on keyup event.
|
27832
27829
|
*
|
27833
27830
|
* @element ANY
|
27834
|
-
* @priority 0
|
27835
27831
|
* @param {expression} ngKeyup {@link guide/expression Expression} to evaluate upon
|
27836
27832
|
* keyup. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)
|
27837
27833
|
*
|
@@ -27878,7 +27874,6 @@ forEach(
|
|
27878
27874
|
* attribute**.
|
27879
27875
|
*
|
27880
27876
|
* @element form
|
27881
|
-
* @priority 0
|
27882
27877
|
* @param {expression} ngSubmit {@link guide/expression Expression} to eval. (Event object is available as `$event`)
|
27883
27878
|
*
|
27884
27879
|
* @example
|
@@ -27928,7 +27923,6 @@ forEach(
|
|
27928
27923
|
* Specify custom behavior on focus event.
|
27929
27924
|
*
|
27930
27925
|
* @element window, input, select, textarea, a
|
27931
|
-
* @priority 0
|
27932
27926
|
* @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon
|
27933
27927
|
* focus. (Event object is available as `$event`)
|
27934
27928
|
*
|
@@ -27944,7 +27938,6 @@ forEach(
|
|
27944
27938
|
* Specify custom behavior on blur event.
|
27945
27939
|
*
|
27946
27940
|
* @element window, input, select, textarea, a
|
27947
|
-
* @priority 0
|
27948
27941
|
* @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon
|
27949
27942
|
* blur. (Event object is available as `$event`)
|
27950
27943
|
*
|
@@ -27960,7 +27953,6 @@ forEach(
|
|
27960
27953
|
* Specify custom behavior on copy event.
|
27961
27954
|
*
|
27962
27955
|
* @element window, input, select, textarea, a
|
27963
|
-
* @priority 0
|
27964
27956
|
* @param {expression} ngCopy {@link guide/expression Expression} to evaluate upon
|
27965
27957
|
* copy. (Event object is available as `$event`)
|
27966
27958
|
*
|
@@ -27981,7 +27973,6 @@ forEach(
|
|
27981
27973
|
* Specify custom behavior on cut event.
|
27982
27974
|
*
|
27983
27975
|
* @element window, input, select, textarea, a
|
27984
|
-
* @priority 0
|
27985
27976
|
* @param {expression} ngCut {@link guide/expression Expression} to evaluate upon
|
27986
27977
|
* cut. (Event object is available as `$event`)
|
27987
27978
|
*
|
@@ -28002,7 +27993,6 @@ forEach(
|
|
28002
27993
|
* Specify custom behavior on paste event.
|
28003
27994
|
*
|
28004
27995
|
* @element window, input, select, textarea, a
|
28005
|
-
* @priority 0
|
28006
27996
|
* @param {expression} ngPaste {@link guide/expression Expression} to evaluate upon
|
28007
27997
|
* paste. (Event object is available as `$event`)
|
28008
27998
|
*
|
@@ -28386,13 +28376,6 @@ var ngIncludeFillContentDirective = ['$compile',
|
|
28386
28376
|
* should use {@link guide/controller controllers} rather than `ngInit`
|
28387
28377
|
* to initialize values on a scope.
|
28388
28378
|
* </div>
|
28389
|
-
* <div class="alert alert-warning">
|
28390
|
-
* **Note**: If you have assignment in `ngInit` along with {@link api/ng.$filter `$filter`}, make
|
28391
|
-
* sure you have parenthesis for correct precedence:
|
28392
|
-
* <pre class="prettyprint">
|
28393
|
-
* <div ng-init="test1 = (data | orderBy:'name')"></div>
|
28394
|
-
* </pre>
|
28395
|
-
* </div>
|
28396
28379
|
*
|
28397
28380
|
* @priority 450
|
28398
28381
|
*
|
@@ -29128,11 +29111,6 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {
|
|
29128
29111
|
*
|
29129
29112
|
* Just remember to include the important flag so the CSS override will function.
|
29130
29113
|
*
|
29131
|
-
* <div class="alert alert-warning">
|
29132
|
-
* **Note:** Here is a list of values that ngShow will consider as a falsy value (case insensitive):<br />
|
29133
|
-
* "f" / "0" / "false" / "no" / "n" / "[]"
|
29134
|
-
* </div>
|
29135
|
-
*
|
29136
29114
|
* ## A note about animations with ngShow
|
29137
29115
|
*
|
29138
29116
|
* Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression
|
@@ -29281,11 +29259,6 @@ var ngShowDirective = ['$animate', function($animate) {
|
|
29281
29259
|
* </pre>
|
29282
29260
|
*
|
29283
29261
|
* Just remember to include the important flag so the CSS override will function.
|
29284
|
-
*
|
29285
|
-
* <div class="alert alert-warning">
|
29286
|
-
* **Note:** Here is a list of values that ngHide will consider as a falsy value (case insensitive):<br />
|
29287
|
-
* "f" / "0" / "false" / "no" / "n" / "[]"
|
29288
|
-
* </div>
|
29289
29262
|
*
|
29290
29263
|
* ## A note about animations with ngHide
|
29291
29264
|
*
|
@@ -29757,21 +29730,14 @@ var ngOptionsMinErr = minErr('ngOptions');
|
|
29757
29730
|
* represented by the selected option will be bound to the model identified by the `ngModel`
|
29758
29731
|
* directive.
|
29759
29732
|
*
|
29760
|
-
* <div class="alert alert-warning">
|
29761
|
-
* **Note:** `ngModel` compares by reference, not value. This is important when binding to an
|
29762
|
-
* array of objects. See an example {@link http://jsfiddle.net/qWzTb/ in this jsfiddle}.
|
29763
|
-
* </div>
|
29764
|
-
*
|
29765
29733
|
* Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can
|
29766
29734
|
* be nested into the `<select>` element. This element will then represent the `null` or "not selected"
|
29767
29735
|
* option. See example below for demonstration.
|
29768
29736
|
*
|
29769
|
-
*
|
29770
|
-
* **Note:** `ngOptions` provides iterator facility for `<option>` element which should be used instead
|
29737
|
+
* Note: `ngOptions` provides iterator facility for `<option>` element which should be used instead
|
29771
29738
|
* of {@link ng.directive:ngRepeat ngRepeat} when you want the
|
29772
29739
|
* `select` model to be bound to a non-string value. This is because an option element can only
|
29773
29740
|
* be bound to string values at present.
|
29774
|
-
* </div>
|
29775
29741
|
*
|
29776
29742
|
* @param {string} ngModel Assignable angular expression to data-bind to.
|
29777
29743
|
* @param {string=} name Property name of the form under which the control is published.
|
@@ -30175,7 +30141,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) {
|
|
30175
30141
|
|
30176
30142
|
// We now build up the list of options we need (we merge later)
|
30177
30143
|
for (index = 0; length = keys.length, index < length; index++) {
|
30178
|
-
|
30144
|
+
|
30179
30145
|
key = index;
|
30180
30146
|
if (keyName) {
|
30181
30147
|
key = keys[index];
|