Skip to content

Instantly share code, notes, and snippets.

@tkc
Created September 10, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkc/6f3781a38d46d9ebe564 to your computer and use it in GitHub Desktop.
Save tkc/6f3781a38d46d9ebe564 to your computer and use it in GitHub Desktop.
$scope.modalOpen = function (_id) {
var modalInstance = $modal.open({
animation: true,
templateUrl: 'myModalContent.html',
controller: 'ModalInstanceCtrl',
size: 'lg',
resolve: {
_id: function () {
return _id;
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment