Angularstrap Modal with scope
var scope = $scope.$new(),
myModal = $modal({
templateUrl: '/js/shipments/shipping/modal.freight.tpl.html',
show: false,
scope: scope
});
vm.showModal = function () {
myModal.$promise.then(myModal.show);
};