From 5918c156a63bc90fc469d8db67ca8da0a85b9061 Mon Sep 17 00:00:00 2001 From: Roger Pedros Date: Wed, 17 May 2017 19:46:16 +0200 Subject: [PATCH] Added ')' on uiCanExit example --- src/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.ts b/src/interface.ts index d3ad65a49..a0e9786c4 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -695,7 +695,7 @@ export interface Ng1Controller { * this.originalData = angular.copy(this.data); * * this.uiCanExit = function() { - * if (!angular.equals(this.data, this.originalData) { + * if (!angular.equals(this.data, this.originalData)) { * // Note: This could also return a Promise and request async * // confirmation using something like ui-bootstrap $modal * return window.confirm("Data has changed. Exit anyway and lose changes?");