Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Commit 8d564d6

Browse files
committed
Update validate.js (fix typo)
1 parent 0202bd3 commit 8d564d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/validate/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ angular.module('ui.validate',[]).directive('uiValidate', function () {
3232
angular.forEach(validateExpr, function (exprssn, key) {
3333
validateFn = function (valueToValidate) {
3434
var expression = scope.$eval(exprssn, { '$value' : valueToValidate });
35-
if (agular.isObject(expression) && angular.isFunction(expression.then)) {
35+
if (angular.isObject(expression) && angular.isFunction(expression.then)) {
3636
// expression is a promise
3737
expression.then(function(){
3838
ctrl.$setValidity(key, true);

0 commit comments

Comments
 (0)