facultymatt/angular-unsavedChanges — pull request #14 by dmytroyarmak (2014-07-21 09:34:20+00:00)
Title: Fix problem with angular-translate greater then 2.0.0

In new version angular-translate $translate returns promise instead of translations. So to returns actual string I use $translate.instant that have previous behavior.

Also I've remove message object in service and get messages from config to have new translation each time (it is useful when you switch language at run-time through angular-translate).