I have various menu items which use the same uibmodal when clicked on any of them. Only for one of the menu selections, I want the uibmodal to be displayed as a smaller size. I tried the following:
$scope.profile = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/modal/user_profile.html',
controller: 'UserController',
scope: $scope,
windowClass: 'userFileWindow',
size: 'sm'
});
};
Size: sm is not helping. It shows the default size as any other menu selection, how to I modify the width and height of this uibmodal?
I am new to working to Angular, sorry if its an insane question. Thank you.