Isolate scope for the Modal.
Modal service for AngularJS - supports creating popups and modals via a service.
Brought to you by:
evanfcrane
Originally created by: ionescuvictor
The modal's scope must be isolate so it does not reference any property up the scope chain such as 'Id' etc.
$rootScope.$new(true)
https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$new